Ask Your Question
0

BREAK FOR CICLE

asked 2017-10-18 12:27:39 +0200

Fede gravatar image

updated 2017-10-18 12:58:16 +0200

Lupp gravatar image

Hello, Is it possibile break a for cicle (in starbasic) and exit from it under certains conditions?

Thank you

LO: 5.4 SO: Win10

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-10-18 13:09:56 +0200

Lupp gravatar image

Are you looking for something like

PreviousStatement

For j = 1 To 100
    Statement1  
    If MyCondition Then Exit For
    Statement2
Next j

SubsequentStatement
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-10-18 12:27:39 +0200

Seen: 28 times

Last updated: Oct 18 '17