I prefer the layout of

    IF A = "TEST"
       THEN GOSUB DO.SOMETHING      ;* Say why
       ELSE GOSUB DO.SOMETHING.ELSE ;* The reason

However, here is a form that's rarely used, but does work.

    IF A = "TEST"
    THEN     ;* say why in a long-winded manner
       GOSUB DO.SOMETHING
    END
    ELSE     ;* the reasoning behind the reason
       GOSUB DO.SOMETHING.ELSE
    END

I don't use it myself, but it's very amenable to cut and paste programming.

Regards, Keith

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to