TEAM Object
- Last UpdatedMar 24, 2023
- 1 minute read
Members
|
Name |
Type |
Purpose |
|---|---|---|
|
Name |
STRING |
Name of the TEAM, up to 32 characters. |
|
Description |
STRING |
TEAM description, up to 120 characters. |
|
Refno |
STRING |
STRING containing Database reference number. |
Methods
None of these methods modifies the original object.
|
Name |
Result |
Purpose |
|---|---|---|
|
DbList() |
ARRAY OF |
List of DBs owned by the TEAM. |
|
UserList() |
ARRAY OF |
List of USERS in the TEAM. |
|
TEAM(DBREF) |
TEAM |
Returns a TEAM object, given a DBREF. |
|
TEAM(STRING) |
TEAM |
Returns a TEAM object, given a name or reference number. |
These methods may be used in the following ways:
|
!D = OBJECT TEAM(!!CE) |
|
|
!D = OBJECT TEAM(!!CE.Name) |
|
|
!D = !!CE.TEAM() |
|
|
!D = !!CE.Name.TEAM() |
In all cases, '!!CE' is assumed to be a DB database element and '!!CE.Name' is a STRING object containing the name of the element.
These methods should assist performance improvements to AppWare by making it easier to get from Database element to Object.
Command
|
!ARRAY = TEAMS |
$ Returns an array of TEAMs. |