Hi guys, 2010/5/1 Kyle <[email protected]>
> Greetings, > > Here's how it currently reads in the manual: > > ``JALv2 is a pass by value language. Conceptually, an IN parameter is read > once when the sub-program enters, and an OUT parameter is written once when > the sub-program returns. This is not always desired. For example if a > sub-program writes a string of characters to the serial port (passed as > parameter), only the last character written will be sent. For this case we > need VOLATILE parameters. These are either read each time used (IN) or > written > each time assigned (OUT). This is accomplished using pseudo variables (see > below). If the value passed is not a pseudo-variable, a suitable one is > created.'' I understand that when passed as "volatile in" parameter, only 'get pseudo-var func is created, explaining why "aa = aa + 1" should fail (as no 'put exists). But what if an existing pseudo-var exists with both 'put and 'get, will this still fail ? Haven't tried, but this "volatile in" reminds me something I dived into, and a pseudo-variable was existing, on which I can remember having indirectly used 'get and 'put. But my memories may get too blurry... Cheers, Seb -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
