Search found 17 matches
- Wed Feb 22, 2017 3:10 pm
- Forum: Talking LiveCode
- Topic: Print to pdf commands
- Replies: 1
- Views: 2533
Print to pdf commands
It's not documented, but I have seen that "the result" of "close printing" and the "print" commands appears to be empty on success, and "printing failed" when I send too much at it. Can I depend on the result from these, as in checking for empty to be a good result? How about "open printing..."? Tha...
- Tue Dec 13, 2016 6:43 pm
- Forum: Bug Triage
- Topic: regex can degrade performance of subsequent statements
- Replies: 21
- Views: 10390
- Mon Jul 18, 2016 3:24 pm
- Forum: Feature Proposals
- Topic: LiveCode 8.0.0 App Browser
- Replies: 23
- Views: 11603
Re: LiveCode 8.0.0 App Browser
Love the project browser. Just turn off "Show thumbnails"
- Thu May 12, 2016 9:49 pm
- Forum: Talking LiveCode
- Topic: LC8. Ugh, on the surface
- Replies: 32
- Views: 24133
Re: LC8. Ugh, on the surface
I must admit I prefer the v7 disctionary to the v8 one. Haven't really played with v8 one to tell about other things. Although on Windows the project manager doesn't seem to persist across restarts. Widgets are awesome tho.
- Mon May 09, 2016 12:47 pm
- Forum: Bug Triage
- Topic: Linux postrges lib LC7
- Replies: 2
- Views: 2316
- Thu May 05, 2016 2:26 pm
- Forum: Bug Triage
- Topic: Linux postrges lib LC7
- Replies: 2
- Views: 2316
Linux postrges lib LC7
I was wondering if anyone has seen any issues with the postgres external lib (dbpostgresql.so) provided in LC 7.1.3/4 on Linux64. I'm using Fedora 21 and whenever I attempt to connect to the database I get a "revdberr, invalid database type" error. If I copy over the postgres library from the 7.0.6 ...
- Mon Mar 21, 2016 12:37 pm
- Forum: Bug Triage
- Topic: Empty paramter eval
- Replies: 5
- Views: 3509
Re: Empty paramter eval
@jacque: Thanks for the feedback. I'm using a similar workaround, but as you can imagine this lessens the usefulness of empty params if they don't propogate and behave as you would expect 'empty' to.
@-hh: Ha! Seems I'm late to the party. Thanks for the link.
@-hh: Ha! Seems I'm late to the party. Thanks for the link.
- Fri Mar 18, 2016 9:19 pm
- Forum: Bug Triage
- Topic: Empty paramter eval
- Replies: 5
- Views: 3509
Re: Empty paramter eval
The problem I am facing with it is how it propagates through functions. If I do Something(Something()) then again it will be equal to 0. This can cause unexpected outcomes when you think an empty parameter should equate to empty. Also, this will continue even if you assign it to a variable such as: ...
- Thu Mar 17, 2016 7:06 pm
- Forum: Bug Triage
- Topic: Empty paramter eval
- Replies: 5
- Views: 3509
Empty paramter eval
on mouseUp
answer Something() = 0
answer Something() = empty
answer Something(empty) = 0
answer Something(empty) = empty
end mouseUp
function Something pNothing
return pNothing
end Something
This will return
'true'
'true'
'false'
'true'
Is this expected?
answer Something() = 0
answer Something() = empty
answer Something(empty) = 0
answer Something(empty) = empty
end mouseUp
function Something pNothing
return pNothing
end Something
This will return
'true'
'true'
'false'
'true'
Is this expected?
- Fri Mar 04, 2016 2:38 pm
- Forum: Bug Triage
- Topic: Potential socket issue in LC 7.0.6
- Replies: 11
- Views: 5337
Re: Potential socket issue in LC 7.0.6
@LCMark: Thanks for the reply! Good to know I'm not crazy
I will do as you say but it may be some time before I can get this together. Need to get my project released in the next week or two. Thanks again!

- Fri Feb 26, 2016 7:21 pm
- Forum: Talking LiveCode
- Topic: Battleships game (not sure if this is the correct place)
- Replies: 11
- Views: 7913
Re: Battleships game (not sure if this is the correct place)
What about just making all the grid pieces buttons? Then you can toggle them when they hit them and also present a graphic background.
- Tue Feb 23, 2016 10:57 pm
- Forum: Bug Triage
- Topic: Potential socket issue in LC 7.0.6
- Replies: 11
- Views: 5337
Re: Potential socket issue in LC 7.0.6
Looking through the livecode open source project some, the openSockets function is a representation of MCsockets. To read/write a socket, the code looks up the connection id given by a user in MCsockets, say "127.0.0.1:4400" and finds the first entry in the list that matches it. It uses this descrip...
- Tue Feb 23, 2016 10:06 pm
- Forum: Bug Triage
- Topic: Potential socket issue in LC 7.0.6
- Replies: 11
- Views: 5337
Re: Potential socket issue in LC 7.0.6
Yes, computers are deterministic, therefore the livecode openSockets function was designed with an intent. Was the intent to allow duplicate entries? Anyway, I'll get some code to review, but it will be a couple of weeks. I've worked around the issue by using another list to track the sockets in use.
- Tue Feb 23, 2016 4:50 pm
- Forum: Bug Triage
- Topic: Potential socket issue in LC 7.0.6
- Replies: 11
- Views: 5337
Re: Potential socket issue in LC 7.0.6
It seems rather odd that there is no definitive answer on whether the livecode function openSockets should have duplicates or not. I will gladly pare down my code to something I can post to the forums in the meantime, but it would be nice to know if this should even occur. I asure you nothing nefari...
- Tue Feb 23, 2016 2:20 pm
- Forum: Bug Triage
- Topic: Potential socket issue in LC 7.0.6
- Replies: 11
- Views: 5337
Re: Potential socket issue in LC 7.0.6
No updates? Perhaps someone could answer this question: Should livecode ever have duplicate entries in the openSockets list? I would think not, since these describe the peer connections, which should always be unique. Otherwise, how could you know who you were communicating with using read from/writ...