Technical support and scripting issues
Moderators: JRL, Dorian (MJT support)
-
Danzig
- Newbie
- Posts: 10
- Joined: Wed Oct 20, 2004 6:52 pm
Post
by Danzig » Thu Nov 04, 2004 4:08 pm
Hello,
I'm having a problem with the repeate/until logic. It errors out saying that
Label Idx not found
Code: Select all
let>greeting[1]=Hi
let>greeting[2]=Hello
let>greeting[3]=Hola
let>greeting[4]=Howdy
Let>Idx=0
Repeat>Idx
Let>Idx=Idx+1
mdl>greeting[%Idx%]
Until>Idx,4
I also get the same error using the example from the helpfile
Label k not found
Code: Select all
GetFileList>c:\temp\*.*,files
Separate>files,;,file_names
MessageModal>Num Files: %file_names_count%
Let>k=0
Repeat>k
Let>k=k+1
Message>file_names_%k%
Until>k,file_names_count
Any ideas?
-
support
- Automation Wizard
- Posts: 1450
- Joined: Sat Oct 19, 2002 4:38 pm
- Location: London
-
Contact:
Post
by support » Thu Nov 04, 2004 4:13 pm
Looks like you have some erroneous blank characters at the end of the Repeat line. Which version do you have? The latest should automatically remove any special chars inserted by html (such as the help file and this website). Do Edit/Remove Trailing Spaces and it should fix it.
-
Danzig
- Newbie
- Posts: 10
- Joined: Wed Oct 20, 2004 6:52 pm
Post
by Danzig » Thu Nov 04, 2004 4:23 pm
Worked like a champ.
And thanks is great to get a response on issues. I was wondering if the board was no very active.