[progress Communities] [progress Openedge Abl] Forum Post: Memptr As A Parameter - Pass By...

  • Thread starter Thread starter Tim Kuehn
  • Start date Start date
Status
Not open for further replies.
T

Tim Kuehn

Guest
I'm writing some code that'll pass memptrs around, and I need to confirm that MEMPTR are pass-by-reference and not pass-by-value. In other words - for this code snippet: RUN Memptr/Callee.p(mptrTest). Will the parameter in Callee.p reference the memory pointed to by mptrTest, or a copy of that area? I know that Assign Mptr1 = Mptr2. Creates a new memptr and copies the values from 2 to 1 - I want to make sure that passing a memptr reference to a method, procedure, or function does not do this.

Continue reading...
 
Status
Not open for further replies.
Back
Top