Call By Reference: Difference between revisions
From DataFlex Wiki
Jump to navigationJump to search
Hellboy1975 (talk | contribs) No edit summary |
m add syntax highlighting |
||
Line 3: | Line 3: | ||
==Example== | ==Example== | ||
The following code passes a reference to the argument ''sName'' in to the procedure '''DoCall'''. | The following code passes a reference to the argument ''sName'' in to the procedure '''DoCall'''. | ||
< | <source lang="dataflex"> | ||
String sName | String sName | ||
Line 15: | Line 15: | ||
Send DoCall(&sName) | Send DoCall(&sName) | ||
showln "name:" sName | showln "name:" sName | ||
</ | </source> | ||
The output window would display: | The output window would display: |