problem with brackets in script editor

2009-03-10 Thread Andre.Bisseret
Bonjour, In order to keep trying Data Grid, I have to learn about « arrays » (that I did not use up to now ). Well, I am reading the article from Tom Healy « Arrays Examined » in revUp, 57, sept 26 2008. First trial : first example from Tom : - local tShoppingList, put Apple

Re: problem with brackets in script editor

2009-03-10 Thread Klaus Major
Bonjour Andre, Bonjour, In order to keep trying Data Grid, I have to learn about « arrays » (that I did not use up to now ). Well, I am reading the article from Tom Healy « Arrays Examined » in revUp, 57, sept 26 2008. First trial : first example from Tom : - local

Re: problem with brackets in script editor

2009-03-10 Thread Mark Schonewille
Hi Andre, Does it help if you put the names of the keys in quotes? (Fruit, Cereal, etc). Which version of Revolution do you have? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum:

Re: problem with brackets in script editor

2009-03-10 Thread Richard Gaskin
Andre.Bisseret wrote: In order to keep trying Data Grid, I have to learn about « arrays » (that I did not use up to now ). Well, I am reading the article from Tom Healy « Arrays Examined » in revUp, 57, sept 26 2008. First trial : first example from Tom : - local

Re: problem with brackets in script editor

2009-03-10 Thread Bob Sneidar
This worked just fine for me. Did you copy/paste this script from your problem button? Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Mar 10, 2009, at 7:40 AM, Andre.Bisseret wrote: Bonjour, In order to keep trying Data Grid, I have to learn about « arrays » (that I did not

Re: problem with brackets in script editor

2009-03-10 Thread Bob Sneidar
Well that's odd, it compiled and ran perfectly for me just as it was! Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Mar 10, 2009, at 8:01 AM, Richard Gaskin wrote: Andre.Bisseret wrote: In order to keep trying Data Grid, I have to learn about « arrays » (that I did not use up

Re: problem with brackets in script editor

2009-03-10 Thread Bob Sneidar
You would only need to use quotes if there were more than one word I think. Still, it's a good practice. Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Mar 10, 2009, at 7:56 AM, Mark Schonewille wrote: Hi Andre, Does it help if you put the names of the keys in quotes? (Fruit,

Re: problem with brackets in script editor

2009-03-10 Thread Mark Schonewille
Bob, You also need quotes if explicitVariables is true or if any of the words could also be a variable or if they are also used as keywords or commands etc. Enough reason to always use quotes around every string that is meant to be a data string rather than anything else. I'm not sure

Re: problem with brackets in script editor

2009-03-10 Thread Andre.Bisseret
Thank you Klaus, Mark and Richard for your quick answers. Yes, Quoting the keys solved my problem ; (the message box seems a special case : there, quotes are not necessary ! bizarre ;-)) Copying the example from Tom Healy (keys not quoted) I had tried with Rev 3.0 and 3.5 as well. The

Re: problem with brackets in script editor

2009-03-10 Thread Bob Sneidar
Whaa?? There's a Rev 3.5?? Is it compatible with GLX2? Bob Sneidar IT Manager Logos Management Calvary Chapel CM On Mar 10, 2009, at 9:25 AM, Andre.Bisseret wrote: Copying the example from Tom Healy (keys not quoted) I had tried with Rev 3.0 and 3.5 as well.

Re: problem with brackets in script editor

2009-03-10 Thread Richard Gaskin
Bob Sneidar wrote: Whaa?? There's a Rev 3.5?? Is it compatible with GLX2? v3.5 is in beta testing at the moment. Kevin introduced it in a recent newsletter: http://runrev.com/newsletter/february/issue65/newsletter1.php Trevor goes into detail here on its cornerstone feature, Behaviors:

Re: problem with brackets in script editor

2009-03-10 Thread Andre.Bisseret
Le 10 mars 09 à 17:07, Mark Schonewille a écrit : Bob, You also need quotes if explicitVariables is true Ah ! OK, I am working in Explicit Variables mode; so I understand why without quotes, it was not working in my button script, while it was working well in the message box (where it is