Variables and ScopesFebruary 03. 2012
Variable creationPlease note that Wirbel creates a variable if it sees an assignment to it anywhere. The variables are created at time of compilation. See the following example:
s = ""
for v in [1, 2, 3, 4, 5]:
if notfirst:
s += ","
else:
notfirst = true
s += str(v)
print(s)
|
| |||||||||||||||||||||