L
Lieven De Foor
Guest
CLASS Test: CONSTRUCTOR PUBLIC Test(): DEFINE VARIABLE MyVariable AS INTEGER NO-UNDO. OutputMethod(MyVariable). MESSAGE MyVariable VIEW-AS ALERT-BOX. END CONSTRUCTOR. METHOD PRIVATE VOID OutputMethod(OUTPUT MyParam AS INTEGER): ASSIGN MyParam = 42. END METHOD. END CLASS. I find it very upsetting that this compiles and changes the value of the caller...
Continue reading...
Continue reading...