[progress Communities] [progress Openedge Abl] Forum Post: Re: Just Read The Following In...

  • Thread starter Thread starter Lieven De Foor
  • Start date Start date
Status
Not open for further replies.
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...
 
Status
Not open for further replies.
Back
Top