Search found 422 matches

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

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: 699

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: 518

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: 518

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: 518

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: 544

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: 544

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: 615

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: 615

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: 615

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: 654

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: 654

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: 2120

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
by sritcp
Sat Feb 08, 2020 4:35 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Template script for DataGrid
Replies: 4
Views: 688

Re: Template script for DataGrid

Hi guylouis: 1. The structure of Data grid is complicated. The option menu button you put in a column of a DG is inside a nested stream of groups. The long name of one of the buttons in the column, e.g., is button "Option Menu" of group "MyColumnName 0001" of group "MyColumnName" of group "dgList" o...

Go to advanced search