Nested function: Difference between revisions

m
→‎using a class: added re-pass 'sep' note
(Added R. Rather short.)
m (→‎using a class: added re-pass 'sep' note)
Line 1,133:
{{libheader|Phix/Class}}
Same output. I trust it is obvious that if you passed in c.count, you would not be able to update it.
Again note how MakeList's sep ''must'' be explicitly re-passed to MakeItem.
<lang Phix>class counter
public integer count
7,794

edits