If you have code where parts repeat many times, you can transfer these parts into subroutines.
Example (schematic):
!!!Main program!!!!!!GOSUB "sub1"GOSUB "sub2"...END  !!!Do not forget END!!!!!!Subroutines!!!!!!"sub1":...RETURN"sub2":...RETURN
For details, see GOSUB, RETURN and END.
| (C) ALLPLAN GmbH | Privacy policy |