Welcome to Phrogram Sign in | Join | Help


How to realize "goto label X" loop in Phrogram

  •  03-16-2008, 10:26 PM

    How to realize "goto label X" loop in Phrogram

    How to realize the "go to lable X" loop in the Phrogram? In FORTRAN I would put a "go to the label X" statement in selected places of the program and the program will switch to the place where I put a label X. This is very common way in the most of programming languages. Let us say that I have some condition and when this condition is satisfied I would like the program to start over again. In FORTRAN I would use the "goto label X" loop and place the label X at the beginning of the program. How I can do the same in Phrogram?
    Filed under:
View Complete Thread