S
S
silentnuke2012-04-12 20:17:19
Programming
silentnuke, 2012-04-12 20:17:19

Loop with postcondition gwbasic?

After many hours of searching, I did not find anything interesting.
do..loop, as I understand it, it hasn't happened yet. i.e. do I understand correctly that there was no cycle with a postcondition in gwbasic?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
valashko, 2012-04-12
@silentnuke

Yes, there is no postcondition loop in GW-BASIC. Quoting the source : "These are the FOR-NEXT and the WHILE-WEND loops".

S
Stanislav, 2012-04-12
@crackedmind

Only through GOTO to implement.
30 '
40 PRINT "You haven't guessed my favorite color yet!"
50 INPUT "What's my favorite color"; GUESS$
60 IF GUESS$ <> "pink" THEN GOTO 30

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question