The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
MAKELIST()
01-10-2015, 11:23 PM
Post: #1
MAKELIST()
This code fragment compiles ok, but errors at runtime:

Code:

EXPORT test()
BEGIN
local A,J1,T1,KT;

KT:={2.5, pi,3.79,4.22};
J1:=1;                       
T1:=MAKELIST(A,A,KT(J1),1.5*PI,((1.5*PI-KT(J1))/51)); 

END;

Yet, when KT, J1, and T1 are entered in the HOME command line individually, they work just fine. Something in the MAKELIST(...) is troublesome, but what?

Ideas?

-Dale-
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
MAKELIST() - DrD - 01-10-2015 11:23 PM
RE: MAKELIST() - Han - 01-10-2015, 11:28 PM
RE: MAKELIST() - DrD - 01-10-2015, 11:33 PM
RE: MAKELIST() - Han - 01-10-2015, 11:46 PM
RE: MAKELIST() - DrD - 01-11-2015, 01:25 AM
RE: MAKELIST() - Han - 01-11-2015, 01:31 AM
RE: MAKELIST() - DrD - 01-12-2015, 12:35 PM
RE: MAKELIST() - Tim Wessman - 01-12-2015, 02:18 PM
RE: MAKELIST() - DrD - 01-12-2015, 03:54 PM
RE: MAKELIST() - Tim Wessman - 01-12-2015, 05:01 PM



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