2009-12-14 12:40 PM
2009-12-14 05:29 PM
2009-12-14 05:42 PM
Piotr wrote:No, I have objects developed many versions ago that changed their behaviour radically under AC13. And GS has confirmed this is new in AC13.
Afair it was the same in 12...I mean "worked twice"
In some of my objects I used a normal "icon- parameter" instead.
but I think I soleved it some way - I do not remember now...I will paste it later today if You are interested.
2009-12-14 06:23 PM
2009-12-15 06:45 PM
n = APPLICATON_QUERY ("PARAMETER_SCRIPT", "FIRSTOCCASION_IN_PROGRESS", isFirstRun)isFirstRun will contain the Boole value showing if it's the first run.
2009-12-15 10:48 PM
ztaskai wrote:Thanks Zsolt - that's exactly what I needed.
We added an APPLICATON_QUERY option for this purpose. A call looks like this:n = APPLICATON_QUERY ("PARAMETER_SCRIPT", "FIRSTOCCASION_IN_PROGRESS", isFirstRun)
2009-12-16 10:57 AM
ztaskai wrote:I updated the doc. Basic Library is available from the usual URL:
I'll update the online documentation of APPLICATON_QUERY tomorrow.
2009-12-17 01:50 PM
Ralph wrote:Got it! Thank you Ralph for such a fine object.
Existing users should ask their reseller for the AC13 update
2009-12-17 02:25 PM
ztaskai wrote:Does this mean all the globals
3. There is a change in AC13: you cannot change the value of the global variable in the first run. This killed the usual workaround.
2009-12-17 02:53 PM
Juha wrote:Yes. Definitely. You can change them in one run for the current run itself but not between elements or between runs. Your changes to the AC globals are dropped after your run. This fix was very important to increase stability and speed. This change doesn't affect scripts which don't communicate with other objects or later executions via globals.
Hello,
ztaskai wrote:Does this mean all the globals :shock: :?: :!:
3. There is a change in AC13: you cannot change the value of the global variable in the first run. This killed the usual workaround.