Search found 423 matches

by sritcp
Sun May 24, 2020 1:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Copy and Paste Datagrid
Replies: 2
Views: 401

Re: Copy and Paste Datagrid

Copy the whole card; this works (most of the time).
Copying and pasting Datagid creates all kinds of problems.

Regards,
Sri
by sritcp
Fri Mar 13, 2020 10:05 pm
Forum: Talking LiveCode
Topic: Why Am I Always a Beginner???
Replies: 7
Views: 2382

Re: Why Am I Always a Beginner???

zen.png
by sritcp
Thu Feb 20, 2020 7:49 pm
Forum: Off-Topic
Topic: Coming out as a Trans person.
Replies: 3
Views: 1606

Re: Coming out as a Trans person.

Craig:

A left-handed compliment?

Sri
by sritcp
Thu Feb 20, 2020 3:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Send/Call command Object Referencing
Replies: 4
Views: 1147

Re: Send/Call command Object Referencing

Thanks Axwald and LCMark!
LCMark wrote:
Thu Feb 20, 2020 2:20 pm
......... neither change the current card of the stack.
That explains (and clears) my confusion!

Regards,
Sri
by sritcp
Thu Feb 20, 2020 2:57 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Send/Call command Object Referencing
Replies: 4
Views: 1147

Re: Send/Call command Object Referencing

So, "this" refers to card 2 (for both "send" and "call") ... But, "me" refers to card 1 (for both "send" and "call")... and any reference to a script local variable refers to the one in card 1 (for both "send" and "call") (to test this, define a script local variable each on card 1 and card 2, both ...
by sritcp
Thu Feb 20, 2020 12:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Send/Call command Object Referencing
Replies: 4
Views: 1147

Send/Call command Object Referencing

LC 9.5.1 User Guide p 131-32 gives the following example: Add to card 1 script: command showCard answer the number of this card end showCard Now, use the following statement from card 2 (card script or button script) to send "showCard" to card 1 According to the Guide, "send" command should result i...
by sritcp
Sat Feb 15, 2020 11:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Value comparison of numbers and groups of chars
Replies: 3
Views: 1061

Re: Value comparison of numbers and groups of chars

Do you have a particular issue? Hi Craig: My program required comparing two numbers, each stored in a file. put URL tRemoteFileURL into t1 put URL tLocalFileURL into t2 If t1>t2 then ....... etc., etc. When the remote file access returned an error (which was in text form) instead of the file conten...
by sritcp
Sat Feb 15, 2020 4:34 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Value comparison of numbers and groups of chars
Replies: 3
Views: 1061

Value comparison of numbers and groups of chars

Playing around with the operators, I noticed put empty > 20200120 - - false put space > 20200120 - - false put space > empty - - true put -1 > space - - true put "text" > 20200120 - - true put (space & "text") > 20200120 - - false put ("text" & space) > 20200120 - - true put (space & 20200121) > 202...
by sritcp
Fri Feb 14, 2020 8:33 pm
Forum: Internet
Topic: How to update contents without holding up the user?
Replies: 4
Views: 1583

Re: How to update contents without holding up the user?

.... where no meaningful action can be performed by the user until the app finishes obtaining data from the server... Of course! If I was using a server where its latency became prohibitive .... One of the challenges of serving a low-incidence target population is that, you may have a user in a dis...
by sritcp
Fri Feb 14, 2020 4:49 pm
Forum: Internet
Topic: How to update contents without holding up the user?
Replies: 4
Views: 1583

Re: How to update contents without holding up the user?

...the "load url" command is non-blocking, with a callback message to notify you when the download is complete ... Yes, I noticed that .... 1. I guess one should never use "put URL .... into tTemp" with internet documents because the remote server may hang or be extremely slow, and we wouldn't know...
by sritcp
Fri Feb 14, 2020 3:54 pm
Forum: Internet
Topic: How to update contents without holding up the user?
Replies: 4
Views: 1583

How to update contents without holding up the user?

I am writing an app which requires it check the AWS server periodically for new content (text or pdf files) and download it. Since the new content is strictly not essential for the user to use the app, the user should be able to go ahead and start using the app while the content is being updated. Wh...
by sritcp
Sun Feb 09, 2020 9:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: When specialFolderPath() fails
Replies: 3
Views: 1328

Re: When specialFolderPath() fails

Darn!
Do you know how many times in the past I have heard Klaus shout (in all caps) about this very point?
I still stepped into it!
Putting it into a variable first should guard me against this pitfall.

Thanks,
Sri
by sritcp
Sun Feb 09, 2020 8:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: When specialFolderPath() fails
Replies: 3
Views: 1328

When specialFolderPath() fails

I have a file named lorem.html on my desktop. In message box, put there is a file specialFolderPath("desktop") & "/" & "lorem.html" returns false. Actually, it returns false/lorem.html When I type put specialFolderPath("desktop") it returns /Users/MyName/Desktop When I copy the above returned result...
by sritcp
Sun Feb 09, 2020 4:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Environment: which applies when?
Replies: 15
Views: 3819

Re: Environment: which applies when?

I am sorry to bring this up again, but
in the case of a standalone application running on iOS
what would the function environment() return?
"standalone application" or "mobile" ?
Why?
(I am assuming the function returns only one result).

Thanks,
Sri

Go to advanced search