docs.intersystems.com
InterSystems IRIS Data Platform 2019.2  /  Class Definition Reference

Class Definition Reference
PublicList
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


Specifies the public variables for this method. Applies only if the method is written in ObjectScript and is a procedure block.
Usage
To specify the list of public variables for the method, use the following syntax:
Method name(formal_spec) As returnclass [ PublicList = variablelist ] 
{    //implementation }
Where publiclist is either a single variable name or a comma-separated list of variable names, enclosed in parentheses.
Details
This keyword is used only if method is written in ObjectScript and is a procedure block. In ObjectScript, the public list specifies a list of variables that are scoped as public variables. Public variables are visible to any methods invoked from the method defining the public list.
Default
If you omit this keyword, the method has no public variables.
See Also


Previous section           Next section
Send us comments on this page
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-08-16 05:50:13