Jump to content

Loops with Letters


This topic is 6216 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hello,

I'm wondering if it is possible to run a loop with letters. Something where

Set Variable $Var = A

Loop

Insert Calculation Field: $Var

Set Variable $Var = $Var + 1

Exit loop if _____

End Loop

So that everytime it loops it goes from A to B to C ...

If anyone has any ideas that would be helpful

js22

Link to comment
Share on other sites

Set Variable $string = "ABCDE..XYWZ"

Set Variable $pos = 1

Loop

Set field [ yourField ; Middle ( $string ; $pos ; 1 ) ]

Set Variable $pos = $pos + 1

Exit Loop if [ $pos > Lenght ( $string ) ]

Pause [ ,5 ]

End Loop

Link to comment
Share on other sites

This topic is 6216 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.