English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have a simple program, that I am trying to get to repeat once executed, until the user asks to quit. what do i do to do this (cmd like REPEAT or LOOP or something?)

thanks in advance

2007-09-17 05:54:22 · 2 answers · asked by B-Bon 1 in Computers & Internet Programming & Design

2 answers

There are a few different loop options..

See here:

http://www.stanford.edu/class/me200c/tutorial_77/09_loops.html

2007-09-17 06:04:28 · answer #1 · answered by prkushun 5 · 0 0

Old fortran programmers remember the GOTO statement, now largely discredited. It still works, though, it jumps to a label.

FOO:

A= B+C
Blah
blah

GOTO FOO

2007-09-17 13:04:47 · answer #2 · answered by Computer Guy 7 · 0 0

fedest.com, questions and answers