User talk:Idrougge: Difference between revisions

m
→‎local/global variables: added a new talk section.
(added comments about the Regina AREXX_SEMANTICS option.)
m (→‎local/global variables: added a new talk section.)
Line 130:
:: <nowiki> {{works|REGINA 3.8 and later, with options: AREXX_BIFS and AREXX_SEMANTICS}} </nowiki>
<br>statement. &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 18:24, 13 September 2015 (UTC)
 
<br>
-----
<br>
 
My apologies: &nbsp; I got the syntax wrong, it should be:
:: <nowiki> {{works with|REGINA 3.8 and later, with options: AREXX_BIFS and AREXX_SEMANTICS}} </nowiki>
 
<br> -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 20:39, 13 September 2015 (UTC)
 
==local/global variables==
 
In the Rosetta Code task &nbsp; ''Include a file'' &nbsp; where you mentioned:
 
'' ... This means that including a file in your program is usually not necessary, unless you want them to share global variables.'''
 
Did you mean to say &nbsp; ''local'' &nbsp; variables instead?
 
There are very few global variables: &nbsp; RC, RESULT, and SIGL, &nbsp; and those might not even be considered global &nbsp; (Regina REXX has a few others as well). &nbsp; Also, there are things like "ON" conditions, the settings for OPTIONS, TRACE, DIGITS, FORM, FUZZ, ADDRESS, and the like which may be considered global, at least in the sense that those values are carried forward into "lower levels" of subroutines/functions. &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 20:39, 13 September 2015 (UTC)