VID: choice arguments
[1/7] from: robert::muench::robertmuench::de at: 28-Jan-2002 14:03
Hi, how can I provide a variable as an argument to vid's choice?
I tried:
test: ["choice 1" "choice 2" "choice 3"]
choice test
But this doesnt work. Robert
[2/7] from: mario:cassani:icl at: 28-Jan-2002 13:16
Hallo Robert,
> Hi, how can I provide a variable as an argument to vid's choice?
>
> I tried:
>
> test: ["choice 1" "choice 2" "choice 3"]
> choice test
>
> But this doesnt work. Robert
Use the 'data "refinement"
choice data test
Mario
[3/7] from: robert:muench:robertmuench at: 28-Jan-2002 16:16
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]On Behalf Of
<<quoted lines omitted: 4>>
> Use the 'data "refinement"
> choice data test
Hi, well it's so easy if you know how to do it ;-)) Hope we will get a
documentation for all those things soon.
BTW: I really would like to use ?? for vid related things too. Something like ??
vid/choice At the moment AFAIK it isn't possible to get any help for dialects.
Robert
[4/7] from: riusa:email:it at: 29-Jan-2002 22:49
Hi, a question for Rebol creators: why Rebol does not use standard
refiniments for view?
choice data test
but it should be:
choice/data test
Thanks!
-----Messaggio originale-----
Da: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]Per conto di
Cassani Mario
Inviato: Monday, January 28, 2002 2:17 PM
A: ['rebol-list--rebol--com']
Oggetto: [REBOL] Re: VID: choice arguments
Hallo Robert,
> Hi, how can I provide a variable as an argument to vid's choice?
>
> I tried:
>
> test: ["choice 1" "choice 2" "choice 3"]
> choice test
>
> But this doesnt work. Robert
Use the 'data "refinement"
choice data test
Mario
--
To unsubscribe from this list, please send an email to
[rebol-request--rebol--com] with "unsubscribe" in the
subject, without the quotes.
--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f
Sponsor:
Più siamo, meno paghiamo:
unisciti a un gruppo d’acquisto di bid.it!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=232&d=29-1
[5/7] from: mario:cassani:icl at: 30-Jan-2002 10:08
Ciao Alessandro,
> Hi, a question for Rebol creators: why Rebol does not use standard
> refiniments for view?
Well, I unfortunately am not a REBOL creator but I think I can
answer you: view/vid is a dialect, not (only) a definition of
functions. Take a look to the dialects info in core.pdf (you can
get it from www.rebol.com) to understand the difference.
> "choice data test" but it should be:
> "choice/data test"
Buon divertimento con 'parse
Mario
[6/7] from: riusa:email:it at: 30-Jan-2002 12:05
ok...
but when I create a dialect, a can even create refiniments...
===================================================================
> Ciao Alessandro,
> > Hi, a question for Rebol creators: why Rebol does not use standard
<<quoted lines omitted: 7>>
> Buon divertimento con 'parse
> Mario
--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f
Sponsor:
Obiettivo Laurea?
Scopri la formula vincente per la preparazione dei tui esami universitari!
Per informazioni
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=212&d=30-1
[7/7] from: greggirwin:mindspring at: 30-Jan-2002 11:22
Hi Alessandro,
I'm not part of the team at RT, so I can only give my opinion.
<< but when I create a dialect, a can even create refiniments... >>
You can create a dialect to support almost any syntax imaginable. Dialects
may often be used to make it easier for humans to enter data that the
computer understands. Most people will be confused by the extra syntax
required by most programming languages. While REBOL does away with lots of
extraneous syntax, you can use a dialect to do away with even more, albeit
by limiting the scope of what the dialect allows (or writing a very complex
and powerful dialect :).
REBOL's VID (Visual Interface Dialect) does this. The catch with VID is that
we, as developers, often want to insert regular REBOL statements along with
the VID statements, which leads to more syntax in Layout blocks, but also
shows the power that can be made available even inside a dialect. VID,
itself, is very free from artificial syntax and refinements would add
artifice I think.
--Gregg
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted