Post Reply 
cas or home - test in program (userkeys)
12-03-2014, 11:39 AM
Post: #2
RE: cas or home - test in program (userkeys)
Does this help in any way?

(12-02-2014 10:20 PM)Tim Wessman Wrote:  Use the new #cas #end in a program file. Try to make a "CAS program" from the catalog and you will see the new way to do it. Doing this means that your comments in the CAS functions won't be lost, they can be edited in the conn kit, you can't accidentally delete them and have them permanently gone, and they behave more like the other "program" source files, etc. You can even mix them in with the normal exported function variables.

Basically, anything within #cas #end is executed/parsed by the CAS parser on source compile or check. Thus doing this for example is now perfectly valid:

Code:

#cas
f(x):=x^2;
#end

EXPORT test()
BEGIN
  f(3);
END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: cas or home - test in program (userkeys) - DrD - 12-03-2014 11:39 AM



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