SKIP parameter not working in 9.5.1

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
xfratboy
Posts: 97
Joined: Fri Mar 05, 2010 9:09 pm

SKIP parameter not working in 9.5.1

Post by xfratboy » Fri Apr 10, 2020 6:01 pm

anyone run into the problem of the SKIP parameter not working in 9.5.1
ex:

Code: Select all

repeat with MyVariable = 0 to 100 SKIP 2 

gives an error: repeat: (bad termination condition) near "SKIP"

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: SKIP parameter not working in 9.5.1

Post by Klaus » Fri Apr 10, 2020 6:15 pm

A "skip" parameter is for lineoffset, you probably mean STEP:

Code: Select all

repeat with MyVariable = 0 to 100 STEP 2 
There is no entry for SKIP in the dictionary.
If in doubt ALWAYS take a look there, it is better than its reputation. 8)

Post Reply