WRDSchema2017::CreateType (open)
Create a new type
Syntax
LOADLIB "mod::wrd/lib/internal/wrdschema.whlib";
OBJECT FUNCTION CreateType(STRING tag, RECORD options)Parameters
STRING tagTag for the new type
RECORD optionsOptions
descriptionDescription for the new type
linkfromType this type links from
linktoType the new type links to (if set, 'linkfrom' is required)
titleTitle for the new type
Return value
OBJECTNew type