Quantcast
Viewing all articles
Browse latest Browse all 75061

Need help- corrected mysteries to tradi by lignumaqua - 2013-07-23

Welcome to the GSAK forum! Image may be NSFW.
Clik here to view.
smile.gif


As the warning message states, you need to surround the loop in your code with a transaction like this:

GSK
$x = 0
Goto Position=Top
TRANSACTION Action=Begin
While not($_EOL)
  If $d_HasCorrected = true and $d_CacheType = "U"
     $d_CacheType = "T"
     $x = $x + 1 # count the number of waypoints
  EndIf
  Goto Position=Next
EndWhile
TRANSACTION Action=End
Pause Msg=$x


This will make it run quicker.

(GSAK used to add this for you automatically, but that can cause problems in other areas. It now just gives you the warning you saw.)

Viewing all articles
Browse latest Browse all 75061

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>