Post Reply 
Trouble with this programm. Please help!
03-16-2015, 04:04 PM
Post: #4
RE: Trouble with this programm. Please help!
The problem is the way you pass in the LIST (L1): Lists can't be used as inputs in the case.

Pre-define your list L1 then run this code:

Code:

EXPORT PARAL()  // Removed reference to L1
BEGIN
LOCAL T;
LOCAL I;
LOCAL N;
T:=0;
I:=0;
N:=SIZE(L1);

FOR I FROM 1 TO N DO
T:=T+1/L1(I);
END;

T:=1/T;
RETURN(T);
END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Trouble with this programm. Please help! - DrD - 03-16-2015 04:04 PM



User(s) browsing this thread: 1 Guest(s)