Post Reply 
How to save a CAS program
07-29-2014, 05:08 AM
Post: #2
RE: How to save a CAS program
If I try to initialize local variables with the STO key in a CAS program, the program doesn't even compile.

I can change that to :=, e.g., LOCAL a:= 1; the program compiles and runs OK (even multiple times), as long as I don't open the program for editing. Once I try to edit the program, the line now reads LOCAL a; and running the same program as before returns "uninitialized local variable."

So it seems to me that you have to assign values to your local variables on separate lines. Do you even need the local statements? My programs seem to run fine without them.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How to save a CAS program - Alberto Candel - 07-24-2014, 05:55 PM
RE: How to save a CAS program - Helge Gabert - 07-29-2014 05:08 AM
RE: How to save a CAS program - Joe Horn - 07-29-2014, 06:36 AM
RE: How to save a CAS program - Thomas_Sch - 07-29-2014, 02:19 PM
RE: How to save a CAS program - Joe Horn - 07-30-2014, 08:31 AM
RE: How to save a CAS program - Thomas_Sch - 07-30-2014, 08:55 AM
RE: How to save a CAS program - parisse - 07-30-2014, 03:22 PM
RE: How to save a CAS program - Thomas_Sch - 07-30-2014, 08:17 PM
RE: How to save a CAS program - parisse - 07-31-2014, 07:48 AM
RE: How to save a CAS program - Thomas_Sch - 07-31-2014, 11:47 AM
RE: How to save a CAS program - debrouxl - 07-30-2014, 05:47 PM



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