Call By Reference

From DataFlex Wiki
Revision as of 09:31, 23 September 2007 by Jka (talk | contribs) (New page: Procedure doCall String ByRef sName showln "name:" sName Move "B" to sName End_Procedure .. Move "A" to sName Send doCall (&sName ) showln "name:" sName this should show...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Procedure doCall String ByRef sName 
 showln "name:" sName
 Move "B" to sName
End_Procedure


..
Move "A" to sName
Send doCall (&sName )
showln "name:" sName


this should show

name:A
name:B