LabelToVar> with full syntax will crash the loop

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Grovkillen
Automation Wizard
Posts: 1009
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

LabelToVar> with full syntax will crash the loop

Post by Grovkillen » Sun Sep 19, 2021 5:45 pm

My guess is that it's the */ in the end or something that is messing it up since if I comment the row out it still will crash.

Code: Select all

Let>k=0
While>k<5
  Let>k=k+1
  Let>ROW_TEXT=text %k%
  LabelToVar>LABEL_OF_CODE,ROW_WITH_TEXT
EndWhile

Let>k=0
While>k<5
  Let>k=k+1
  Let>ROW_TEXT=text %k%
  LabelToVar>LABEL_OF_CODE,ROW_WITH_TEXT,0,0,*/
EndWhile
  
Let>k=0
Repeat>k
  Let>k=k+1
  Let>ROW_TEXT=text %k%
  LabelToVar>LABEL_OF_CODE,ROW_WITH_TEXT
Until>k=4
  
Let>k=0
Repeat>k
  Let>k=k+1
  Let>ROW_TEXT=text %k%
  LabelToVar>LABEL_OF_CODE,ROW_WITH_TEXT,0,0,*/
Until>k=4

Let>k=0
While>k<5
  Let>k=k+1
  Let>ROW_TEXT=text %k%
  //LabelToVar>LABEL_OF_CODE,ROW_WITH_TEXT,0,0,*/
EndWhile

/*
LABEL_OF_CODE:
%ROW_TEXT%
*/
Let>ME=%Script%

Running: 15.0.24
version history

User avatar
Grovkillen
Automation Wizard
Posts: 1009
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: LabelToVar> with full syntax will crash the loop

Post by Grovkillen » Fri Sep 24, 2021 7:54 am

Problem was found (by myself) last year already :)

viewtopic.php?f=1&t=10540&p=44848#p44848
Let>ME=%Script%

Running: 15.0.24
version history

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts