Re: use-livecode Digest, Vol 131, Issue 3

2014-08-02 Thread William Waldman
Thanks for your message. I am out of the office this week. If you need immediate assistance, please email "h...@klht.org". http://www.facebook.com/kingStamford"; target="_new">http://forum.klht.org/Social_Media_Images/fb.png"; border="0"> https://twitter.com/kingstamford"; target="_new">http:/

Re: Add a control to a group

2014-08-02 Thread Peter Haworth
Hi Devin, Another way might be: create image in group export snapshot.. to it Pete lcSQL Software On Aug 1, 2014 3:27 PM, "Devin Asay" wrote: > > On Aug 1, 2014, at 4:02 PM, Mark Schonewille < > m.schonewi...@economy-x-talk.com> > wrote: > > > Hi Devin, > > > > Usually I copy t

Performance v Python

2014-08-02 Thread Richard Gaskin
A couple months ago Simon Smith did a very helpful comparison of PHP v LC: Has anyone here had the opportunity to perform any comparative benchmarks between LiveCode and Python? Given the strengths and weaknesses of each, I

Re: Performance v Python

2014-08-02 Thread hh
You could use this LC-stack 'Python-Helper' (=raspiCollectionStack 19). It has a timing built in and cards 2 and 8 (choose at left) are ready-made-usable for this, just hit enter in the input field. http://forums.livecode.com/viewtopic.php?f=76&t=19248&start=15#p105550 I dare say, this will res

Re: [TAO] value() to obtain pointer functionality

2014-08-02 Thread Peter Haworth
On Mon, Jul 28, 2014 at 4:36 PM, Richard Gaskin wrote: > There are some extremely rare cases where "do" is useful, but most uses I > come across are just habits held over from more limited xTalks like > HyperCard. Here's the one that catches me every time: set the () of button "xyz" to 10 Tha

No libURL with -ui?

2014-08-02 Thread Richard Gaskin
With the old MetaCard runtime engine we could call it facelessly with -ui and if we loaded libURL could make calls to remote servers quite well. With LC v7 I don't seem to be able to do this, even with a Linux standalone in which I've confirmed that libURL is among the backscripts. Anyone her

Re: [TAO] value() to obtain pointer functionality

2014-08-02 Thread Richard Gaskin
Peter Haworth wrote: > Here's the one that catches me every time: > > set the () of button "xyz" to 10 > > That results in a compile error "token is not a property". Tried it > using "value" too but same error. The only way round this I've found > is to use "do" but why can't the compiler handl

Re: [TAO] value() to obtain pointer functionality

2014-08-02 Thread J. Landman Gay
On 8/2/2014, 4:52 PM, Peter Haworth wrote: Here's the one that catches me every time: set the () of button "xyz" to 10 That results in a compile error "token is not a property". Tried it using "value" too but same error. The only way round this I've found is to use "do" but why can't the comp

Re: [TAO] value() to obtain pointer functionality

2014-08-02 Thread Kay C Lan
On Sun, Aug 3, 2014 at 5:52 AM, Peter Haworth wrote: > Here's the one that catches me every time: > > set the () of button "xyz" to 10 I've just checked the latest stack I'm working on and I have 63 of these statements and they all work fine. A common example is for my many Option Menus: set th

Re: [TAO] value() to obtain pointer functionality

2014-08-02 Thread hh
@Peter, this cannot work: Token, here "(" and ")", as part of a property name? Do "set (...) of btn " must also result in an error. Do "set" && (...) && "of btn ..." removes the offending token "(" and ")". @Richard, you are right: do "answer (do is useful)". Hermann _

Re: [TAO] value() to obtain pointer functionality

2014-08-02 Thread Peter Haworth
On Sat, Aug 2, 2014 at 5:00 PM, Richard Gaskin wrote: > Can you gives us an example that doesn't work? Just about any expression causes an error, eg: set the ("abc" & "def") of button "xyz" to 10 Pete lcSQL Software Home of lcStackBrowser

Re: [TAO] value() to obtain pointer functionality

2014-08-02 Thread Peter Haworth
Right, actually that's what I ended up doing instead of using a "do" statement. Just not clear why the compiler can't evaluate an expression as a cprop name. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin

Re: [TAO] value() to obtain pointer functionality

2014-08-02 Thread Kay C Lan
On Sun, Aug 3, 2014 at 8:00 AM, Richard Gaskin wrote: >> set the () of button "xyz" to 10 I looked at this again and thought maybe the problem you're having is because you're setting numbers and I'm generally using true and false, although I'm sure I've set text and numbers on many many occassion

Re: [TAO] value() to obtain pointer functionality

2014-08-02 Thread Kay C Lan
Oh now I see, it's the parenthesis that is causing the problem. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinf

Re: Back to the Future.

2014-08-02 Thread hh
If I have to be really fast, I start the fastest Mac one can currently buy (I have it). Then I go to my 12 year old PPC running Mac OS 10.4.11 and start it. LC 10.5.2 was opened at startup, I write 10 lines of code, run them and I'm done. Then I go back to the fastest Mac one can currently buy.

Re: [TAO] value() to obtain pointer functionality

2014-08-02 Thread Richard Gaskin
Peter Haworth wrote: Just about any expression causes an error, eg: set the ("abc" & "def") of button "xyz" to 10 String literals are also expressions, which is what threw me off. What we have here seems like a case where the engine isn't doing a proper up-front evaluation of the stuff betw

Re: [TAO] value() to obtain pointer functionality

2014-08-02 Thread Peter Haworth
Of course it can work. Expressions in Parentheses are supposed to be evaluated before the rest of the command. It just doesn't happen when the expression is preceded by "the". Pete lcSQL Software On Aug 2, 2014 5:57 PM, "hh" wrote: > @Peter, > > this cannot work: Token, here "(" and ")", as pa

Re: [TAO] value() to obtain pointer functionality

2014-08-02 Thread Peter Haworth
See the example I posted in response to Richard's question. Pete lcSQL Software On Aug 2, 2014 6:18 PM, "Kay C Lan" wrote: > On Sun, Aug 3, 2014 at 8:00 AM, Richard Gaskin > wrote: > >> set the () of button "xyz" to 10 > > I looked at this again and thought maybe the problem you're having is >

Re: [TAO] value() to obtain pointer functionality

2014-08-02 Thread Jerry Jensen
On Aug 2, 2014, at 8:09 PM, Richard Gaskin wrote: > Peter Haworth wrote: > >> Just about any expression causes an error, eg: >> >> set the ("abc" & "def") of button "xyz" to 10 > > String literals are also expressions, which is what threw me off. > > What we have here seems like a case where t