LassoScript Utility
Basics Browse Detail

[Private] ... [/Private]

Tag Link [Private] ... Category Custom Tag
Type Container Source Available Yes
Support Preferred Version 8.5
Change New Data Source Any
Output Type None Security None
Implementation Sets Lasso 8.5


[Private] ... [/Private] surround member tags and variables which should be kept private to a custom data type.

Private members can be accessed from within any of the member tags of a custom type using the [Self->TagName] or [Self->'VariableName'] syntax. Private members cannot be accessed from outside an instance of the custom type. They are not listed by ->Properties and cannot be called using ->TagName or ->'VariableName'. Private members cannot be accessed by sub-classes of the data type.

The [Private] ... [/Private] tags should be used to protect member tags which are used for the implementation of the data type, but do not need to be called from outside the data type. These tags can also be used to protect variables which hold the state of the custom type.


Define_Type: 'MyPrivateValue';
Local: 'value' = 'test';
Define_Tag: 'oncreate', -Required='value';
Self->'value' = #value;
Define_Tag: 'onconvert';
Return: Self->'value';


No Parameters Required.


See the Lasso 8 Language Guide for examples of how to use this tag.