| Prev | Next | Basic Verbs > new |
new
| Syntax |
new (type, addr)
|
| Params |
type is a valid Frontier datatype as described in Chapter 1 of the UserTalk Reference Guide. addr is the location in the Frontier Object Database table where you want the new object created.
|
| Action |
Creates a new object of the indicated type at Object Database table address.
|
| Returns |
True if the creation is successful; false otherwise.
|
| Examples |
new (outlineType, @examples.newOutline) » true
new (booleanType, @examples.["Software is my way of life"])
|
| Errors |
Supplying an invalid type results in an error message. Supplying an addr argument that can't be coerced to an address results in an error message. Running out of memory in the process of creating a new object can also result in an error.
|
| Prev | Next | Basic Verbs > new |