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

Tell me what "data" is here

 [1/4] from: emekamicro::gmail at: 28-Aug-2010 9:09

== [ ["John Smith" "Monday" "3:00 pm"] ["Dave Jones" "Tuesday" "11:00 am"] ["Janet Duffy" "Wednesday" "4:45 pm"] ]
>> view layout [
[ vh2 "This Week's Appointments:" [ list 600x400 [ [ across text 150 text 150 text 100 [ ] data schedule [ ] I can't figure what data is here..
>> help data
Found these words: datatype! datatype! datatype! datatype? action! Returns TRUE for datatype values. datatypes block! length: 54 to-datatype function! [value] Regards, Emeka

 [2/4] from: Tom:Conlin:gm:ail at: 28-Aug-2010 1:54

I am not a view user (just core) but believe that "data" is a word that is part of the view "list" dialect who's purpose is to introduce the block containing what the list is to display. In this case the word data is introducing the block named schedule to be used by the list which is being layed out and viewed. Emeka wrote:

 [3/4] from: dhsunanda::gmail at: 28-Aug-2010 9:56

It's a word in the LAYOUT dialect that says the data being provided to the LIST is in a block: The word is perhaps redundant in that it looks like it could be inferred from context. But perhaps not -- perhaps it acts to avoid some possible ambiguities when parsing the LAYOUT dialect. Because it is a word in the LAYOUT dialect, you won't find it with HELP -- any more than you'd find ACROSS or TEXT. Perhaps HELP should be more helpful for built-in dialects like LAYOUT. Sunanda.

 [4/4] from: emekamicro:gmai:l at: 28-Aug-2010 11:52

Tom + Sunanda , Thanks so much! Emeka On Sat, Aug 28, 2010 at 9:56 AM, Sunanda <> wrote: