Jump to content

loops in a calculation field


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

Recommended Posts

hello there,

I've a script with a loop of this kind :

setloop = 1

loop

leftword ("test",setloop,1)

setloop = setloop + 1

end loop if setloop = #whatever..

end loop

where "setloop" is a number field.

So, Something very classical !

don't bother on the leftword commande syntax !

What I would like to do is the same kind of auto-incrementing of "setloop" in a calc field, but of course "calc field" doesn't allow this kind of recursive loop.

I've my nose on it and I cannot figure it out, how to get in the right direction.

so, thank you for your help,

Link to comment
Share on other sites

The best you can do is hard-code in a set number of iterations... say, 20 or however many will exceed your expected number of words.

Link to comment
Share on other sites

This topic is 7142 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.