VarRecord FindSysField() Method

Finds a field by syscode.

Function Signature

 Field FindSysField(syscode)

Parameters

Parameter Type Description

syscode

int

The system code of the field to be found.

Return

Type Description

Field object

The Field on the list matching the given syscode. If no Field objects matched, it returns null. Check for null using is_var_null().

Technical Details

SBM ModScript version: 11.3.

Notes

System Fields are fields that have special built-in meaning to SBM. Every syscode field is unique within the field's table and identifies it by number. The SBM schema document lists all the system codes for each table.

Related Topics

VarFieldList