DATASET( dict )
This form re-defines the dict as a DATASET.
Example:
rec := {STRING color,UNSIGNED1 code, STRING name};
ColorCodes := DATASET([{'Black' ,0 , 'Fred'},
{'Brown' ,1 , 'Sam'},
{'Red' ,2 , 'Sue'},
{'White' ,3 , 'Jo'}], rec);
ColorCodesDCT := DICTIONARY(ColorCodes,{Color,Code});
ds := DATASET(ColorCodesDCT);
OUTPUT(ds);
See Also: OUTPUT, RECORD Structure, TABLE, ROW, RECORDOF, TRANSFORM Structure, DICTIONARY