Re: User's language

2013-07-02 Thread John
Thanks everyone. This is indeed a helpful list. John ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Weekend challenge

2013-07-02 Thread Geoff Canyon
I'd be very curious to know what the rails code looked like. I've said many times, and I hope the new language features enable this soon, that there are *many* extensions to the LC language that would be equal parts intuitive and useful. The unique requirement on the type might be (assuming

Re: OT: Alan Kay on OOP

2013-07-02 Thread Pierre Sahores
Many Thanks for this, Mark ! Le 2 juil. 2013 à 06:54, Mark Wieder a écrit : Dr. Alan Kay explains when object-oriented was first used and what it means. http://www.purl.org/stefan_ram/pub/doc_kay_oop_en -- -Mark Wieder mwie...@ahsoftware.net

Re: Augmented reality with LiveCode ?

2013-07-02 Thread Sergio Schvarstein
Thanks Mark for your answer. These days I am exploring different possibilities and I found Vuforia as a very possible solution. I will also look Unity, following your advice. I have a lot of 3D programming skills inherited from 3D Lingo so maybe I can find a good path with Unity. I've

Valentina DB, SQLite and DBLib

2013-07-02 Thread Pascal Lehner
Hi everyone, Another rather n00b-ish question ;-) I have a SQLite database with about 15 tables. Some of them are obviously relational. Some of the tables will have a row added every 15 or 30 minutes, but only with 4-5 columns each, the others will be much smaller. I started to write my app

Re: OT: Alan Kay on OOP

2013-07-02 Thread Paul Maguire
Great! Thanks. Biological metaphors... ___ 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/listinfo/use-livecode

Regular expressions

2013-07-02 Thread Terry Vogelaar
GREP saved my bacon in several occasions. And the regular expressions in LC are somewhat similar to GREP, but not quite. In GREP I can do this: stringToChange: bodyspanBlock of text/span/body matchExpression: span[^]+/span replacementString: div?/div result: bodydivspanBlock of

Re: Valentina DB, SQLite and DBLib

2013-07-02 Thread Mike Kerner
The easiest way to try to do this (i.e. enforcing referential integrity, maintain related tables, etc.), is to use triggers. You have to tell the DB what to do. Even RDBMS's (4D is one I use all the time that comes to mind) can't read your mind, but if you write triggers/stored procedures/etc.,

Reload the page on hitting back button

2013-07-02 Thread paolo mazza
Hi LiveCoders, I want the browser to reload the page on hitting back button Using php I would use this script: ?php header(Cache-Control: private, must-revalidate, max-age=0); header(Pragma: no-cache); header(Expires: Sat, 26 Jul 1997 05:00:00 GMT); // A date in the past ? What about a LiveCode

Re: Regular expressions

2013-07-02 Thread Jan Schenkel
Hi Terry, Maybe the 'matchChunk' function can help you achieve your goal? From its dictionary entry: Syntax: matchChunk(string,regularExpression[,positionVarsList]) ... If the regularExpression includes a pair of parentheses, the position of the substring matching the part of the regular

Re: Augmented reality with LiveCode ?

2013-07-02 Thread Mark Wilcox
If you don't need the Pro features and can live with the standard Unity splash screen then it's free for iOS now. If those thing aren't true then yes, its several times the cost of LiveCode. Sergio Schvarstein sschvarst...@gmail.com wrote: Thanks Mark for your answer. These days I am

Reading XML with start tag and end tag all in one tag

2013-07-02 Thread mfstuart
Hi, I'm using LC to read this type of XML and my script returns an error: xmlerr, can't find element. when reading the Version val= tag (see below). XML to read: ?xml version=1.0 encoding=UTF-8 standalone=no ? Application Header Version val=11001.00/ APPLICATION val=N/ WithIsn

Re: Pilots required

2013-07-02 Thread Mark Talluto
This is a pretty cool example of what can be done in LC for gaming. Nice work John. Best regards, Mark Talluto canelasoftware.com On Jun 29, 2013, at 9:52 AM, John Craig j...@splash21.com wrote: I've been doing some multi player game testing with LiveCode - if anyone is interested in a

Re: Determining LC Server memory usage?

2013-07-02 Thread Richard Gaskin
Phil Davis wrote: Interesting question, Richard. Here is something I just tried in a quick CGI script. Don't know it gives the memory info we need, but here goes: put p word 2 of shell(ps -p the processID -o rss) k/p Nice solution. I had forgotten about processID. I was hoping for

Global variable for user name

2013-07-02 Thread Peter Haworth
OSX = $USER Windows=$USERNAME Linux=??? Pete lcSQL Software http://www.lcsql.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Global variable for user name

2013-07-02 Thread Richard Gaskin
Peter Haworth wrote: OSX = $USER Windows=$USERNAME Linux=??? $USER Once again, in a world increasingly dominated by POSIX systems, Microsoft continues to marginalize itself with non-standard ways of doing things. ;) -- Richard Gaskin Fourth World LiveCode training and consulting:

Re: Global variable for user name

2013-07-02 Thread Warren Samples
On 07/02/2013 11:46 AM, Peter Haworth wrote: OSX = $USER Windows=$USERNAME Linux=??? Pete lcSQL Software http://www.lcsql.com $USER ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: LiveCode 6.1 Released Today

2013-07-02 Thread Richard Gaskin
Heather Laine wrote: LiveCode 6.1 has been launched today and brings with it some exciting updates. ... Features include: • Chained Behavior - sophisticated OOP-like programming Whoohoo! Thanks to all who had a hand in making that one happen. -- Richard Gaskin Fourth World

Re: Global variable for user name

2013-07-02 Thread Mark Wieder
Richard Gaskin ambassador@... writes: Once again, in a world increasingly dominated by POSIX systems, Microsoft continues to marginalize itself with non-standard ways of doing things. ;) ...and drags their partners down with them...

Re: Reading XML with start tag and end tag all in one tag

2013-07-02 Thread Mark Wieder
mfstuart@... writes: Surely LC's XML functions can read this type of tag? So if it can, what functions are used to do that? Here's a minimalist version. starting with your data in tXMLText: put revCreateXMLTree(tXMLText,false,true,false) into tDocID if tDocID is a number then

Re: Valentina DB, SQLite and DBLib

2013-07-02 Thread Ruslan Zasukhin
On 7/2/13 1:47 PM, Pascal Lehner tat...@gmail.com wrote: Hi everyone, Another rather n00b-ish question ;-) I have a SQLite database with about 15 tables. Some of them are obviously relational. Some of the tables will have a row added every 15 or 30 minutes, but only with 4-5 columns

Re: Valentina DB, SQLite and DBLib

2013-07-02 Thread Ruslan Zasukhin
On 7/2/13 4:14 PM, Mike Kerner mikeker...@roadrunner.com wrote: The easiest way to try to do this (i.e. enforcing referential integrity, maintain related tables, etc.), is to use triggers. You have to tell the DB what to do. Even RDBMS's (4D is one I use all the time that comes to mind)

Re: Reading XML with start tag and end tag all in one tag

2013-07-02 Thread Mark Stuart
Hi Mark, That did the trick. I didn't see the attributeName part of the revXMLAttribute function, wasn't looking close enough. No wonder I was getting the error. Thanx, Mark Stuart - Regards, Mark Stuart --- LC: 4.6.4 WinXP/7/8 32bit and 64bit -- View this message in context:

Re: Global variable for user name

2013-07-02 Thread Warren Samples
On 07/02/2013 01:48 PM, Mark Wieder wrote: Richard Gaskin ambassador@... writes: Once again, in a world increasingly dominated by POSIX systems, Microsoft continues to marginalize itself with non-standard ways of doing things. ;) ...and drags their partners down with them...

Re: LiveCode 6.1 Released Today

2013-07-02 Thread Monte Goulding
On 03/07/2013, at 2:59 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Thanks to all who had a hand in making that one happen. It was pure runrevmark... with some cheerleading from mwieder and myself ;-) -- Monte Goulding M E R Goulding - software development services mergExt - There's

LiveCode and Sleep/Hibernation

2013-07-02 Thread Dar Scott
I was wonder what kinds of issues and problems (if any) people have found with LiveCode applications and the computer going to sleep (or put into hibernation). Including I/O and shell(). Time updates after sleep. Anything. I'm going to be doing some tests and I want to catch these things.

Re: LiveCode and Sleep/Hibernation

2013-07-02 Thread Phil Davis
Hi Dar, On a contrasting note, long ago I discovered that a sleeping HD can be awakened by getting the detailed files from one of its directories. I thought it was pretty cool you could do that, since I needed that particular capability at the time. Don't know if it still works that way.

Memory usage

2013-07-02 Thread J. Landman Gay
Can I safely assume that if I load a whole bunch of stacks into RAM, that virtual memory will take care of memory usage for me? My project is getting huge. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com