Jump to content

Scope/Function names and labels: Difference between revisions

→‎{{header|Phix}}: added a note re classes
(Added Wren)
(→‎{{header|Phix}}: added a note re classes)
Line 710:
 
=={{header|Phix}}==
Functions are private (restricted to a single file) by default, or can be made global by prefixing the definition with the global keyword to make it visible everywhere.<br>
Functions within classes are either private (can only be called from within the class definition) or public (can be called by anything that manages to get it's grubby little mitts on an instance of it). The containing classes themselves can be private or public as above.
 
=={{header|PL/I}}==
7,813

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.