Active Forums > QB64 Discussion
An introduction; A note on Wiki
dcromley:
This is my first post -- it is meant to be constructive -- there is so much here; so much history; a bottomless pit.
I haven't got the hang of here vs. discord vs. tapatalk.
I noticed that the Wiki for "SUB" does not have the "static" option.
I hope it is helpful to point that out.
I met a nice guy on PM.
Looking forward to more looking and participating.
bplus:
Welcome @dcromley
Are you talking about static for the whole sub or all the variables in it?
Was this something in earlier QB?
I know you can have Static variables in a Sub but I don't think that's what you mean.
SMcNeill:
--- Quote from: bplus on April 15, 2022, 12:13:01 pm ---Welcome @dcromley
Are you talking about static for the whole sub or all the variables in it?
Was this something in earlier QB?
I know you can have Static variables in a Sub but I don't think that's what you mean.
--- End quote ---
There's no mention of STATIC for the SUB itself: https://wiki.qb64.org/wiki/SUB
--- Code: QB64: ---For i = 1 To 5 fooNext Sub foo Static x = x + 1 Print xEnd Sub
Such as the above...
dcromley:
Yes -- Steve's got it.
And what a time to join (Steve's QB64 Bible is a joy!).
SMcNeill:
Always glad to hear when someone enjoys any of my stuff. Many thanks! ;)
Navigation
[0] Message Index
[#] Next page
Go to full version