NOTES.New()

NOTES.New()

Type: CLASS FUNCTION

Purpose: 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.

Usage: 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.

NOTES.New() fails and stops the script if an error occurs. Errors might include invalid arguments or insufficient memory.

Related Topics Link IconRelated Topics