Table of Content
HAL Forum
procedure RecordField (
FName FieldName,M4UStr FieldType,Integer FieldSpec,RegName LinkedRegister)
Description:
Adds one certain type of record field for a register that is being defined by RecordBegin/EndRecord in database structure description
Parameters:
FieldName Name of the register field.
FieldType Type of the register field.
FieldSpec FieldType specific Field specification (can be length, StringSet id, etc)
LinkedRegister The name of the register which is linked with the current field of this register.
RecordBegin(PackTypeVc,-,"");
RecordField(Code,M4Code,5,0);
RecordField(Comment,M4Str,60,0);
MainKeyBegin(Code,0);
KeySegment(Code);
KeyBegin(Comment);
KeySegment(Comment);
KeySegment(Code);
EndRecord;
Related topics:
««