Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Table Dialect

 [1/3] from: Al::Bri::xtra::co::nz at: 3-Apr-2003 19:23


Gregg wrote (in another thread):
> A data record contains 3 fields: first name, last name, and
phone number. E.g.
> Gregg, Irwin, 000.000.0000 > Brett, Handley, (00) 00.000.0000
In my opinion, a table should have a header record as a block! value something like Rebol's function specifier dialect. For example: [First_Name [string!] "First Name" Last_Name [string!] "Last Name" Telephone [issue!]] That way, the table's rows more easily scanned with a function having a function input specifier that is the table header block! value. (Which reminds me that I must get this ready to publish as well). Andrew Martin ICQ: 26227169 http://valley.150m.com/

 [2/3] from: brett:codeconscious at: 3-Apr-2003 17:53


> In my opinion, a table should have a header record as a block! value > something like Rebol's function specifier dialect. For example:
<<quoted lines omitted: 3>>
> function input specifier that is the table header block! value. (Which > reminds me that I must get this ready to publish as well).
A really good example and use of metadata. Regards, Brett.

 [3/3] from: greggirwin:mindspring at: 3-Apr-2003 13:00


Hi Andrew, AM> In my opinion, a table should have a header record as a block! value AM> something like Rebol's function specifier dialect. For example: AM> [First_Name [string!] "First Name" Last_Name [string!] "Last Name" AM> Telephone [issue!]] AM> That way, the table's rows more easily scanned with a function having a AM> function input specifier that is the table header block! value. (Which AM> reminds me that I must get this ready to publish as well). Good example. Another thing that's great about dialects, and how REBOL works is that we can build lots of them that work at different levels of abstraction. I.e. dialects for REBOL developers may be different than those for end users. We can choose to trade off, or build on incrementally, the effort put into the dialect. -- Gregg

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted