Difference between revisions of "LavishScript:Object Types"
Jump to navigation
Jump to search
(→Terms) |
(→Terms) |
||
Line 1: | Line 1: | ||
== Terms == | == Terms == | ||
* Member | * Member | ||
− | : A ''member'' in the [[LavishScript]] context means a value associated with the datatype, referred to by a specific term | + | : A ''member'' in the [[LavishScript]] context means a value associated with the datatype, referred to by a specific term. ''Members'' are accessed with a <tt>.</tt> |
* Method | * Method | ||
− | : A ''method'' in the [[LavishScript]] context means a function or action associated with the datatype, referred to by a specific term | + | : A ''method'' in the [[LavishScript]] context means a function or action associated with the datatype, referred to by a specific term. ''Methods'' are accessed with a <tt>:</tt> |
* Index | * Index | ||
− | : An ''index'' in the [[LavishScript]] context means a value or set of values that, when used with a ''member'' or ''method'', indicates parameters such as coordinates to be used in retrieving a value or taking an action | + | : An ''index'' in the [[LavishScript]] context means a value or set of values that, when used with a ''member'' or ''method'', indicates parameters such as coordinates to be used in retrieving a value or taking an action. Indices are surrounded with <tt>[ ]</tt>, and separated by a <tt>,</tt> |
* Inherit | * Inherit | ||
: If a datatype ''inherits'' another, ''members'' and ''methods'' of the inherited datatype can be used as if they were of the original datatype, if not defined by the original datatype. | : If a datatype ''inherits'' another, ''members'' and ''methods'' of the inherited datatype can be used as if they were of the original datatype, if not defined by the original datatype. |
Revision as of 22:31, 22 February 2005
Contents
Terms
- Member
- A member in the LavishScript context means a value associated with the datatype, referred to by a specific term. Members are accessed with a .
- Method
- A method in the LavishScript context means a function or action associated with the datatype, referred to by a specific term. Methods are accessed with a :
- Index
- An index in the LavishScript context means a value or set of values that, when used with a member or method, indicates parameters such as coordinates to be used in retrieving a value or taking an action. Indices are surrounded with [ ], and separated by a ,
- Inherit
- If a datatype inherits another, members and methods of the inherited datatype can be used as if they were of the original datatype, if not defined by the original datatype.
Introduction
Usage
Built-in Data Types
Data Storage
- Text
- Numbers
- Boolean
- List
- Other
Utilities
- Other