Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | table | |
Tool | table |
keyword | in | Name or seqnr of keyword | |
Allowed: | String|Int | ||
value | in | Value of keyword | |
makesubrecord | in | Create intermediate records | |
Allowed: | Bool | ||
Default: | F |
t:=table("MS", readonly=F) t.putkeyword("VERSION", "1.66") # T # define ANTENNA subtable t.putkeyword("ANTENNA", 'Table: MS/ANTENNA') t.flush() # T # write a field in a record and create subrecords when needed t.putkeyword("REC.SUB.FLD", "val", T) # T # write a keyword with a record value t.putkeyword("REC", [SUB=[FLD="val"]]) # TNote that the last example does the same as the previous one (assuming that REC does not exist yet with other fields).