pspad:
--------------------------------------------------------------------------------
What about the forst case:
IF F01 PERFORM HELP SET SCS-RIPETI TO TRUE.
There is IF and PERFORM without END-IF or END-PERFORM with only one DOT.
--------------------------------------------------------------------------------
I am going to transcribe it in a clearer way so that it is understood
*----------------------------------------------
IF F01 ---------> is a boolean variable (true or false)
PERFORM HELP
SET SCS-RIPETI TO TRUE.
STOP RUN
*-----------------------------------------------
HELP.
*----
DO STUF
.
HELP-EXIT. EXIT.
*------------------------------------------------
F01 ----> boolean variable, if is true
then computer go perform HELP, do stuff, then RETURN and SET SCS-RIPETI TO TRUE
another way to write that sentences is:
*----------------------------------------------
IF F01
PERFORM HELP
SET SCS-RIPETI TO TRUE
END-IF
STOP RUN
*-----------------------------------------------
HELP.
*----
DO STUF
.
HELP-EXIT. EXIT.
*------------------------------------------------
If you need more help or explanations, I am here for you
--
<https://forum.pspad.com/read.php?6,76984,77022>
PSPad freeware editor https://www.pspad.com