<< Click to Display Table of Contents >> Navigation: Explain™ Control Language > Library Routines > Data and Text classes > class NOTES > NOTES.New() |
Create a new object of class NOTES.
Suppose the object is created with the statement:
Notes = NOTES.New("CONDITIONS", 400, NIL, "Notes...")
Notes is an object of class NOTES. Initially its value is NIL, which NOTES.New() turns into an empty string. The field can hold up to 400 characters.
We'll use the example above throughout the class description.
NOTES.New() fails and stops the script if an error occurs. Errors might include invalid arguments or insufficient memory. |
Notes = NOTES.New(Tag, Length, Value, Prompt)
Tag |
STRING |
Tag used to identify this object when writing, saving, or restoring |
Length |
INDEX |
Size of field in bytes used to store value. |
Value |
STRING |
The string field that can be edited, written, saved, or restored. |
Prompt |
STRING |
Prompt used in Setup dialog box when this object is being edited. |
Notes |
NOTES |
Notes object created. |