Post Reply 
INPUT function
03-25-2018, 05:31 PM
Post: #2
RE: INPUT function
tabvar seems not to be programmable in a non.CAS program, after a try without that input:
Code:
EXPORT test()
BEGIN
LOCAL f,x;
 //INPUT({{f,[8]}});
 //f:=(LOWER(STRING(f)));
 //f:=EXPR(f);
f:=CAS.tabvar(x^2);
PRINT(CAS.tabvar(x^2,x,2,6));
END;
and a debug observing f I get an empty list or undef, that depends on the amount of parameters passed to tabvar(x^2).
A CAS program works:
Code:

#cas
test2(f):=
BEGIN
  return tabvar(f);
END;
#end
but shows the output of tabvar in terminal first.
Arno
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
INPUT function - maru - 03-25-2018, 01:22 PM
RE: INPUT function - Arno K - 03-25-2018 05:31 PM



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