while loop

  • Email
  • Sharebar
  • Email
2 replies [Last post]
aplesch
aplesch's picture
Offline
MathematicianScientistTechnologistRegular Blogger
Joined: 05/10/2015

How do you use a while loop ?

While this repeat loop works:

this while loop never retruns and crashes the editor:

Andreas

aplesch
aplesch's picture
Offline
MathematicianScientistTechnologistRegular Blogger
Joined: 05/10/2015
parentheses
 
works. 
 
Andy
Andy's picture
Offline
MathematicianTechnologistProfessional Blogger
Joined: 02/10/2010
More controls

There are many program controls in Logo I have not tried before... see https://vrmath2.net/content/logo-guidereference#sec8

The ignore expr is an interesting one. The forever is going to crash VRMath2 Editor as there is no way to stop jslogo unless close the browser....