In VFP, it's possible to use RELEASE ALL LIKE in two forms:
- RELEASE ALL LIKE c*
- RELEASE ALL LIKE "c*"
In X#, only the 1st form is supported. The 2nd form does not throw a compile or run time error, but does not release memvars:
FUNCTION Start() AS VOID
ccc := 123
? ccc // prints 123
RELEASE ALL LIKE "c*"
? ccc // prints 123, should be a runtime error
RELEASE ALL LIKE c*
? ccc // runtime error as expected
I'm a little puzzled, because the .ppo file shows the command preprocessed as
_MRelease( ""c*"", TRUE )
but the compiler is happy with it...
In VFP, it's possible to use RELEASE ALL LIKE in two forms:
In X#, only the 1st form is supported. The 2nd form does not throw a compile or run time error, but does not release memvars:
I'm a little puzzled, because the .ppo file shows the command preprocessed as
_MRelease( ""c*"", TRUE )
but the compiler is happy with it...