Hello there,
from the Knowlegde Base (Oct., 6 2006) of AB I've got this code:
if (Nz( StaticVarGet("InitializationDone") == 0))
{
StaticVarSet("InitializationDone", 1);
// code for first execution
}
I need to initialize my variable "Lmin" only once and I've written this code:
if (Nz( StaticVarGet("InitializationDone") == 0))
{
StaticVarSet("InitializationDone", 1);
LMin = 999999;
}
This code doesn't work. My variable "Lmin" remains not initialize and I get a syntax error 29 (Variable used without having been initialized) in the subsequent line of my code (not reported) that use the variable "Lmin".
Any ideas?
Thanks and best regards.
__._,_.___
Posted by: gamacc@aruba.it
| Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (1) |
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
.
__,_._,___
EmoticonEmoticon