[Implemented] STATIC with initial value
Posted: Thu Mar 18, 2004 8:45 am
Hi ho ...
shame on me. You work so hard for the update, and me the greedy user demands more and more features
sorry.
But would it be possible, to pass e.g. to a STATIC variable something like an initial value. ATM every declared variable is 0.
Lets say, that this would be possible :
(maybe also for GLOBAL, PROTECTED and SHARED).
This would make the following easier
shame on me. You work so hard for the update, and me the greedy user demands more and more features

But would it be possible, to pass e.g. to a STATIC variable something like an initial value. ATM every declared variable is 0.
Lets say, that this would be possible :
Code: Select all
STATIC a.l = 10
This would make the following easier
Code: Select all
and the DEBUG-Result would be 11 and 12 ! ...
[code]
Procedure Test()
Static a.l = 10
a.l + 1
ProcedureReturn a.l
EndProcedure
Debug Test()
Debug Test()