Re: Managed to kill IB/MTB


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Tom Fulton on January 17, 2012 at 08:05:02:

In Reply to: Managed to kill IB/MTB posted by Bob A on January 16, 2012 at 13:16:27:

I'm not sure of the context of that chunk of code, but here are my thoughts.
SET is used to establish symbolic constants. SET is handy here & there, but the majority of its use is in clarifying the file LUNs used in the program. Instead of OPEN (5) "I1A", a SET is used up in the declarative section of the program such as SET I1A = 5, then the code opening files would say OPEN (I1A) "I1A". Subsequent file usage would then be READ (I1A,... instead of READ (5,.... making things much clearer to read. Note: symbolic constants are established with a SET so no variable is defined. If you have a Length 2.0 & Local I1A you will get a compile error on the SET.
So, to get back to your chunk of code - I don't know whether you are looking to establish a symbolic constant or if you are looking to set a variable. I suspect that you have a Length 2.0 & Local A,B,C,D,E and that you are really looking to load a value into a variable. In this case use either LET A = 1 or drop the LET and just say A = 1.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]