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

Did you know...

 [1/4] from: Al::Bri::xtra::co::nz at: 18-May-2003 13:38


...that you can use issue! values in path! values (at least for accessing block! values?
>> School: [#0220 "Colenso" #1234 "School of your choice" #1 "Number 1
School"] == [#0220 "Colenso" #1234 "School of your choice" #1 "Number 1 School"]
>> school/1
== #0220
>> school/2
== "Colenso"
>> school/3
== #1234
>> school/#1
== "Number 1 School"
>> school/#1234
== "School of your choice"
>> school/#0220
== "Colenso" :) Andrew Martin Learning something new in Rebol today! ICQ: 26227169 http://www.rebol.it/Valley/ http://Valley.150m.com/

 [2/4] from: carl:cybercraft at: 24-Dec-2003 22:18


On 18-May-03, Andrew Martin wrote:
> ...that you can use issue! values in path! values (at least for > accessing block! values?
No! Nice and useful find, Andrew. I wonder if it's documented anywhere? Carl.
>>> School: [#0220 "Colenso" #1234 "School of your choice" #1 "Number >>> 1
<<quoted lines omitted: 18>>
> ICQ: 26227169 http://www.rebol.it/Valley/ http://Valley.150m.com/ > -><-
-- Carl Read

 [3/4] from: rotenca:telvia:it at: 18-May-2003 12:09


Hi Andrew
> ...that you can use issue! values in path! values (at least for accessing > block! values?
Yes. You can use also tag!, email!, money, time, tuple and many others datatype!
>> x: [<33> [10:0 [3.3.3 [$2 [%" a" found] ]]]]
== [<33> [10:00 [3.3.3 [$2.00 [% a found]]]]]
>> x/<33>/10:0/3.3.3/$2/%" a"
== found I often use tag! Among the only things that cannot be used directly are string! (sic) and url!, while integer and words have a special meaning whit blocks the first and objects the second. --- Ciao Romano

 [4/4] from: carl::cybercraft::co::nz at: 24-Dec-2003 22:18


On 18-May-03, Romano Paolo Tenca wrote:
> Hi Andrew >> ...that you can use issue! values in path! values (at least for
<<quoted lines omitted: 7>>
> == found > I often use tag!
Hmmm...
>> a: [<name> "John" <email> [john--wherever--not]]
== [<name> "John" <email> [john--wherever--not]]
>> a/<name>
== "John"
>> a/<email>
== [john--wherever--not] Okay, you can do this too...
>> a: [name "John" email [john--wherever--not]]
== [name "John" email [john--wherever--not]]
>> a/email
== [john--wherever--not] But do either or both add to REBOL's word-count? (Meaning the 4000 limit, or is it 8000 now? Or is that only set-words?) -- Carl Read

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