[progress Communities] [progress Openedge Abl] Forum Post: Re: Calling A Method In A Class...

  • Thread starter Thread starter goo
  • Start date Start date
Status
Not open for further replies.
G

goo

Guest
Here it is: Two classes, A and B. Class A: def property AGuid as char .... constructor () Method Public logical doStuff (): : : some stuff that sets the AGUID property.... : oB = New B (THIS-OBJECT). Return somestuff. END. Method Public character getStuff (input icGID as char, input icName as char): : Return theReturn. END. Class B: constructur (input oA as class A): find somestuff where iID = oA:AGuid...... no-lock .... aVariable = oA:getStuff('Something',aintegerfromthefind). end. I am not sure if this made it more informativ....:-) but I need to Reference the class A from within class B.

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