Search found 251 matches

by wsamples
Sun May 08, 2011 5:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I think I found a bug... but not sure.
Replies: 9
Views: 4889

Re: I think I found a bug... but not sure.

:D I was about to edit my post to clarify that I meant was talking about the string containing the "d" being treated as a numeric in Windows... Yes, it is really very odd and not possible to guess if that happens somehow in the Livecode engine or in Windows.
by wsamples
Sun May 08, 2011 3:19 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I think I found a bug... but not sure.
Replies: 9
Views: 4889

Re: I think I found a bug... but not sure.

I think there are two problems here. One is with Livecode and how it evaluates strings it determines are numeric values. I'm running openSUSE and the above evaluates to "not equal", however changing the test to "00020000" = "20000"' evaluates to "true" which is correct only if we are considering num...
by wsamples
Sun May 08, 2011 2:01 am
Forum: Linux
Topic: How to install libmysqlclient.so.15 ?
Replies: 3
Views: 9895

Re: How to install libmysqlclient.so.15 ?

No personal experience, but you might look at this:

http://forum.teamspeak.com/showthread.p ... queeze-Way
by wsamples
Mon May 02, 2011 7:38 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What's up with the Apply button?
Replies: 5
Views: 3463

Re: What's up with the Apply button?

It also occurs sometimes that one needs to edit multiple scripts but neither wants nor needs to spend time running each of them as part of that process. Being forced to do so might be, in that circumstance, no less frustrating than the current procedure ;) It may help if you remember that you can ap...
by wsamples
Mon May 02, 2011 3:28 am
Forum: Databases
Topic: SQLite question
Replies: 15
Views: 11881

Re: SQLite question

Peter, a variable enclosed within double quotes is no longer a variable. It's now treated as a literal. You have to close the quoted portion of the argument and append the variable using & or &&, as appropriate. If it's in the middle of such an argument you then continue by appending the rest of the...
by wsamples
Mon Apr 25, 2011 3:46 am
Forum: Mac OS
Topic: Anyone else Developing on WinXP sp 3 for OSX?
Replies: 3
Views: 3603

Re: Anyone else Developing on WinXP sp 3 for OSX?

Barry, just create a new mainstack and drag a button onto it. Right click the button and select "edit script". Add the line 'answer "Hello World!"' between the 'on mouseUp' and 'end mouseUp'. Script will look like this: on mouseUp answer "Hello World!" end mouseUp Save your work. Go to "Standalone A...
by wsamples
Sun Apr 24, 2011 8:23 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: None of the OSX exes worked on MacBook Pro - Fixed - was me
Replies: 10
Views: 6011

Re: None of the OSX exes worked on MacBook Pro

OS X standalones built in Linux seem to run just fine without any special effort :)
by wsamples
Tue Mar 08, 2011 7:16 am
Forum: iOS Deployment
Topic: Possible?
Replies: 7
Views: 5108

Re: Possible?

Another very simple method if you want to only give your Haiku "normal" titles, is to have a text file on the server, which you update when you upload a file, which your app reads to determine which file to download.
by wsamples
Tue Mar 08, 2011 7:04 am
Forum: iOS Deployment
Topic: Possible?
Replies: 7
Views: 5108

Re: Possible?

Just out of curiosity, how are they named now? You could name them as such: 10-10-2011.mp3 or Some_Inspired_Haiku_Title.10-10-2011.mp3 and have your app look for the file whose date 'item' matches the current (or some earlier) date. You could also upload a companion text file with the same name whic...
by wsamples
Sun Mar 06, 2011 8:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Import CSV file with multi-line records
Replies: 7
Views: 5190

Re: Import CSV file with multi-line records

There are certainly many ways to do this, some more elegant than others, and the best method may depend on your ultimate goals. For example, when you say you want the second line, do you mean you want the item beginning "The 2nd name"? Are you wanting to retrieve the line for display? Will you want ...
by wsamples
Sat Mar 05, 2011 8:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: CRUD SQLite example
Replies: 66
Views: 54889

Re: CRUD SQLite example

Ummmmmmm... I read the dictionary and in my post I provide the conclusion I have drawn from it. However, the dictionary is not perfectly illuminating and hence my request for confirmation :) The first example given in the dictionary suggests there are five required parameters (minimum, all databases...
by wsamples
Sat Mar 05, 2011 6:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: CRUD SQLite example
Replies: 66
Views: 54889

Re: CRUD SQLite example

Thanks for creating and sharing this little demo. This seems like an appropriate place to ask a question that always crosses my mind when I see Livecode SQLite tutorials; what are the empty parameters in the revOpenDatabase function for? While I have nothing against mystery per se, sometimes knowled...
by wsamples
Wed Jan 26, 2011 7:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Remove whitespaces after second comma
Replies: 10
Views: 13970

Re: Remove whitespaces after second comma

It wasn't you??? :lol: I just assumed it was you, wearing the Mod hat... In any event, my feelings weren't hurt; what I had posted was seriously flawed and definitely not going to help anyone! Whoever deleted it couldn't have known I would catch it and come back to try to correct it. (I had been dis...
by wsamples
Wed Jan 26, 2011 6:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Remove whitespaces after second comma
Replies: 10
Views: 13970

Re: Remove whitespaces after second comma

Yes, the amount of help that Klaus provides the community makes him one of its greatest assets. I see he has removed my incomplete (and therefore broken and misleading) repeat loop :D, although I was coming back to fix it. Anyway... Klaus's first example removes all spaces in the third item, which m...

Go to advanced search