AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Entry:     JSPROP_ENUMERATE (Macro)
Summary:     Public.Flag that indicates a property is visible to for and in loops.
Syntax:
JSPROP_ENUMERATE

Description:
JSPROP_ENUMERATE is a flag value that indicates a property belonging to a JS object is visible to for and in loops. JSPROP_ENUMERATE is used to set or clear the flags field in a JSPropertySpec structure so that a property can be made visible or invisible to loops.


Example:
The following code fragment illustrates how JSPROP_ENUMERATE can be set for a property structure before you call JS_DefineProperties:

JSPropertySpec MyProperty;
.
.
.
MyProperty.flags = MyProperty.flags | JSPROP_ENUMERATE;


See also:
JSPROP_EXPORTED
JSPROP_INDEX
JSPROP_PERMANENT
JSPROP_READONLY
JSPropertySpec
JS_DefineProperties
JS_DefineProperty

[sh-index] Back to list of manuals