Re: Problem naming groups with integers - Found word(s) list error in the Text body

2014-05-01 Thread Bob Sneidar
Every value in LC is a string, that is to say there is no variable typing. The parser determines at runtime how to treat it, and if it can be used as such. I can say PUT β€œ1” + 1 but I cannot say PUT β€œone” + 1. Bob S On Apr 19, 2014, at 09:57 , Stephen MacLean mailto:smacl...@madmansoft.com>>

Re: Problem naming groups with integers

2014-04-21 Thread Kay C Lan
On Mon, Apr 21, 2014 at 11:28 AM, Richard Gaskin wrote: > > The only circumstance I've seen that was like yours was when I attempted > to use keys whose length exceeded the documented maximum of 255 bytes. > No, I can't imagine that was the case although I wouldn't guarnatee it wasn't. Most of t

Re: Problem naming groups with integers

2014-04-20 Thread Richard Gaskin
Kay C. Lan wrote: Great, a dozen or so CPSs created with a couple of hundred CPs in each, all using array notation, all done in a blink of the eye. Everything worked fine for a while. A glance at the CPSs and the CPs with the Inspector all looked good. And then things started misbehaving, and th

Re: Problem naming groups with integers

2014-04-20 Thread Kay C Lan
On Sun, Apr 20, 2014 at 7:05 AM, Peter Haworth wrote: > I think the same advice applies to datagrid column names. > > The advise applies to naming EVERYTHING in LC. I don't know how to link to old posts so I'll just repost my own recent naming faux pas: As heads up for others who may not have re

Re: Problem naming groups with integers

2014-04-19 Thread Dar Scott
Good idea! The stack and the website are old. I need to bring those up to date. The before and after handlers are good things to add to the message path animation. We might see the ball bouncing all over the place. I think Richard has a tutorial or similar on the message path, too, and he m

Re: Problem naming groups with integers

2014-04-19 Thread Alejandro Tejada
Hi Dar Scott, Dar Scott wrote > Yeah, in LiveCode values that even look like numbers > (that is, are numerals, strings) or should be numbers > (the result of arithmetic) are all treated like numbers > and like strings. (It is possible to tell the result of > arithmetic from a string, but essent

Re: Problem naming groups with integers

2014-04-19 Thread Peter Haworth
I think the same advice applies to datagrid column names. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Apr 19, 2014 at 1:13 PM, Scott Rossi wrote: > IMO, using number

Re: Problem naming groups with integers

2014-04-19 Thread Richard Gaskin
Stephen MacLean wrote: > So, even though I'm enclosing it in quotes, LC still thinks that? > > Strange behavior It seems strange if you're used to working with languages that support explicit data types. Generally speaking, LiveCode is a typeless language. Any value is considered a string,

Re: Problem naming groups with integers

2014-04-19 Thread Dar Scott
Yeah, in LiveCode values that even look like numbers (that is, are numerals, strings) or should be numbers (the result of arithmetic) are all treated like numbers and like strings. (It is possible to tell the result of arithmetic from a string, but essentially, numbers and numerals are all the

Re: Problem naming groups with integers

2014-04-19 Thread Stephen MacLean
After this experience, I'm with you on that! Best, Steve On Apr 19, 2014, at 4:13 PM, Scott Rossi wrote: > IMO, using numbers as names is just something to avoid in LC. As you've > found, names that are only numbers will cause problems. Better/safer to > adopt a different naming convention

Re: Problem naming groups with integers

2014-04-19 Thread Scott Rossi
IMO, using numbers as names is just something to avoid in LC. As you've found, names that are only numbers will cause problems. Better/safer to adopt a different naming convention. Regards, Scott Rossi Creative Director Tactile Media, UX Design > On Apr 19, 2014, at 12:57 PM, Stephen MacLean

Re: Problem naming groups with integers

2014-04-19 Thread Stephen MacLean
Thanks Scott! So, even though I'm enclosing it in quotes, LC still thinks that? Strange behavior, since it's a string and not a number, but I can deal with it. Change already made:) Best, Steve On Apr 19, 2014, at 3:51 PM, Scott Rossi wrote: > You shouldn't use integers as names because LC

Re: Problem naming groups with integers

2014-04-19 Thread Scott Rossi
You shouldn't use integers as names because LC thinks you're referring the number of the group. Use a letter prefix or similar, but don't start the name with a number. Regards, Scott Rossi Creative Director Tactile Media, UX Design > On Apr 19, 2014, at 12:34 PM, Stephen MacLean wrote: > >