Record Sets: Examples

Record sets in Glee are like structures and tables in some other languages. See the general commentary Commentaryfor an overview of the concepts.

Commentary Code Result
Commentary #rs =>rs :stringv $; RS[R2C1:P]
Fields:[]
Records:{
}
  .num .name .addr #rs => rs;
rs %** $;
RS[R1C1:P]
Fields:[.num.name.addr]
Records:{
}
  .num .name .addr #rs => rs;
10 'glee' '123 main' => []rs;
rs %** $; 
RS[R1C1:P]
Fields:[.num.name.addr]
Records:{
[1]
[.num]Num[R1C1:I]10
[.name]String[R1C4:C]glee
[.addr]String[R1C8:C]123 main
}