Have you tried just outputting the data with no headers?
JC
On 08/10/2012 15:58, Mark Schonewille wrote:
Hi,
I'm downloading a list of words of 9 characters from a MySQL database using a
PHP script and a put URL command in a LiveCode script. Altogether, there are
approximately 1 lines
On 8 Oct 2012, at 15:58, Mark Schonewille m.schonewi...@economy-x-talk.com
wrote:
Exactly every 8001 bytes (or 889 words, which are all different), I get some
garbage:
1f41
A
B
[889 times]
C
1f41
P
Q
[889 times]
R
etc etc etc
Yes, Hakan, it is a table and not a database. Thanks.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and
Craig,
First, I tried it without headers and I added them to see if it would solve the
problem.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color
On 08/10/2012 21:15, Peter Haworth wrote:
I was surprised to find that not all variables have to be defined in this
mode. It seems that using a variable in a repeat command such as repeat
with x=1 to 10 does not require x to be defined as a local variable, nor
is an error flagged when x is used
Hi Dave,
If I don't set any headers in the PHP script, then the libUrlLastHTTPHeaders
are:
GET /~user/list.php HTTP/1.1
Host: localhost
User-Agent: Revolution (MacOS)
There is no transfer-encoding header and no content-length header.
If I move the echo command from the repeat loop to the end
Don't you want libURLLastRHHeaders?
On 09/10/2012, at 7:53 PM, Mark Schonewille wrote:
If I don't set any headers in the PHP script, then the libUrlLastHTTPHeaders
are:
--
M E R Goulding
Software development services
Bespoke application development for vertical markets
mergExt - There's an
Thanks Mike,
You're right, the garbage indicates the amount of data. If I use only one echo
command at the end of the PHP script, then I get 1e550, which equals the the
total amount of data. Oddly, I get an additional 2 at the end of the data,
followed by 3 linefeeds and a 0 and 2 more
Hi Monte,
I think you're right. The libURLLastRHHeaders return:
HTTP/1.1 200 OK
Date: Tue, 09 Oct 2012 08:52:49 GMT
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8
mod_fastcgi/2.4.2
X-Powered-By: PHP/5.3.8
Content-Transfer-Encoding: text
Transfer-Encoding: chunked
On 9 Oct 2012, at 10:12, Mark Schonewille m.schonewi...@economy-x-talk.com
wrote:
Hi Monte,
I think you're right. The libURLLastRHHeaders return:
HTTP/1.1 200 OK
Date: Tue, 09 Oct 2012 08:52:49 GMT
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8
Just a follow-up on this.
Apparently Content-Transfer-Encoding is not a valid http header. (It may
appear in parts of a multipart form). So I should withdraw the claim that this
is a bug in libUrl.
from rfc 2068:
---
19.4.4 No
That's fine if you never use visual effects, since everything unlocks when the
current handlers are done and the engine issues an idle message. But if you
need visual transitions, scattering around lock screen commands is a nightmare
-- I can't tell you how much time I've spend trying to chase
Hi,
I am trying to create a standalone application and I get the message:
There was an error while saving the standalone application. Performing iOS
device builds requires the iOS 5.0 SDK platform to be installed.
I've just made the whole Apple upgrades (iOS 6, last Mountain Lion, last Xcode,
Thanks again for the reply Colin!
Something that may help narrow down the issue, what happens if you give the
app a custom icon? Does it then show that icon and fail to open, or is it
still a white icon?
Which version of LiveCode are you using, and which iOS version?
I quickly made a
Hi Sergio,
.../I've just made the whole Apple upgrades (iOS 6, last Mountain Lion,
last Xcode, last LiveCode, etc.)/ ... this is your problem ... :-)
The current official LiveCode release (5.5.2) is NOT compatible with
Xcode 4.5 ... see this discussion on the forum :
Do you know that this configuration is *NOT* officially supported by
RunRev ?
This is what RunRev OFFICIALLY say (/... on the developers list/) :
with LiveCode 5.5.2 you have to use xCode 4.4.1
with LiveCode 5.5.3 (/when will be officially released/) can use
xCode 4.5
so ... I think
Hi,
This worries me. I have a feeling that LiveCode never works with
state-of-the-art technology but that I'm always be using tools that are
obsolete already. When 5.6 or 6.0 appears, we'll have a new version of XCode
already as well as a new version of Android and again we'll be using old
Hi Mark,
developers have the 5.5.3 release candidate already from two weeks ...
RunRev is working hard to implement the new official release ... ;-)
Guglielmo
On 09.10.2012 14:48, Mark Schonewille wrote:
Hi,
This worries me. I have a feeling that LiveCode never works with
state-of-the-art
Mark Schonewille wrote:
This worries me. I have a feeling that LiveCode never works with
state-of-the-art technology but that I'm always be using tools
that are obsolete already. When 5.6 or 6.0 appears, we'll have a
new version of XCode already as well as a new version of Android
and again
Richard,
Apple provides developers with preview releases of Mac OS X and XCode. That's
sufficient to make sure that RAD tools like LiveCode are up-to-date the day
that the next OSX or XCode is released.
Anyway, the point is not to discuss with you whether something is possible or
not. The
This is kind of what I do already, Mark. I really want to allow them
to have several open forms that they can minimize and pull back up as
needed. There will probably only be about 4-5 maximum instances of
this at a time. But I want to code 1 stack and have many instantiate
copies of the stack. I
Hi Andrew,
Am 09.10.2012 um 16:50 schrieb Andrew Kluthe and...@ctech.me:
This is kind of what I do already, Mark. I really want to allow them
to have several open forms that they can minimize and pull back up as
needed. There will probably only be about 4-5 maximum instances of
this at a
If the stack is a substack or a mainstack with no subs you can also skip
the step of having a middleman file.
copy stack stackname
set the mysavedstack of this stack to the clipboarddata[objects]
To restore the stack..
set the clipboarddata[objects] to the mysavedstack of this stack
paste
If
Very helpful responses all around. Thank you. :)
On Tue, Oct 9, 2012 at 10:08 AM, Mike Bonner bonnm...@gmail.com wrote:
If the stack is a substack or a mainstack with no subs you can also skip
the step of having a middleman file.
copy stack stackname
set the mysavedstack of this stack to the
I think he was joking.
On Oct 9, 2012, at 4:53 AM, Peter M. Brigham wrote:
That's fine if you never use visual effects, since everything unlocks when
the current handlers are done and the engine issues an idle message. But if
you need visual transitions, scattering around lock screen
Mark Schonewille wrote:
Richard,
Apple provides developers with preview releases of Mac OS X
and XCode. That's sufficient to make sure that RAD tools like
LiveCode are up-to-date the day that the next OSX or XCode is
released.
I'm not in a position to know the details of the scope of work
Andrew Kluthe wrote:
I have come across a scenario when I need to be able to have multiple
copies of the same stack with different form data in the field. So
that the user can have multiple instances of this form available to
switch between. Typically, I just allow them to edit 1 record at a
Richard,
If RunRev chooses not to hire extra people to make Apple's preview period
sufficient, so be it. It just means that I continue to be very cautious when
considering to buy an upgrade or not. Any reasons *you* may come up with to
explain why RunRev never seems to be ready when a new
Correct. It seems there are plenty of fine ways to do this, I just had
always managed to not have to do it. These techniques will help me a
great deal. Thank you.
On Tue, Oct 9, 2012 at 10:44 AM, Richard Gaskin
ambassa...@fourthworld.com wrote:
Andrew Kluthe wrote:
I have come across a scenario
Hi from you-know-where,
Bob Sneidar wrote :
I believe LC has a command called launch …..
Bob, I have just fallen foul of the old saying :
Can't see the wood for the trees, or even :
Why use a simple solution when a complicated
one will also do the job !.
I got so used to building
I just got a response from the RQCC saying they were investigating the Office
Clipboard bug I had posted a while back. I retested and found that the
clipboard seems to be translating now! I am running Office 2008 and the latest
release of LC.
If anyone else is experiencing this bug, and can
Hey, if the retro thrusters fired on re-entry, then everyone's happy! :-)
Bob
On Oct 9, 2012, at 8:57 AM, Francis Nugent Dixon wrote:
I got so used to building Applescript calls to Skim
(Especially to pass Scale, Page No., etc.), that I
never even considered a simple route ….:(
Thanks for all your answers !
So, it seems that going back to Xcode 4.4 is the best way (… downloading it
now) and then wait for the next LC release.
From the situation description in the LiveCode Forum discussion, there is one
step I don't know how to make:
- Copy over the 5.0 SDK file from
On Tue, Oct 9, 2012 at 1:48 AM, Ben Rubinstein benr...@cogapp.com wrote:
It's effectively nullified by what I think is a bug
http://quality.runrev.com/**show_bug.cgi?id=3406http://quality.runrev.com/show_bug.cgi?id=3406
It should be what you set so that you're always in 'explicit vars' mode
Indeed! Although recent frustrations have made me thing seriously about
using lock messages/wait a lot more even when there's no apparent reason
for doing so.
For example, with help from a kindly customer, I discovered that the
following line of code in a script:
set the visible of stack
I could find the answer to my last question here:
http://forums.runrev.com/viewtopic.php?f=49t=12949#p62166
And it works !
My last question:
From the situation description in the LiveCode Forum discussion, there is one
step I don't know how to make:
- Copy over the 5.0 SDK file from xCode 4.4
Peter Haworth wrote:
Still don't understand what Variable Preservation was supposed to do
though. It sounds like a different thing than explicit variables or
variable checking.
Script-local variables (those declared as local outside of a handler)
are the only ones affected by that setting.
Pete, out of curiosity, did you try show stack tStackName? It should be the
identical command, but what the hey? Worth a shot. I do not know of any
messages that get generated by simply making a stack visible, so it's doubtful
that some message is generating a silent error and exiting to top.
On Oct 9, 2012, at 9:44 AM, Richard Gaskin wrote:
Peter Haworth wrote:
Still don't understand what Variable Preservation was supposed to do
though. It sounds like a different thing than explicit variables or
variable checking.
Script-local variables (those declared as local outside of
On 10/9/12 9:46 AM, Mark Schonewille wrote:
Apple provides developers with preview releases of Mac OS X and
XCode. That's sufficient to make sure that RAD tools like LiveCode
are up-to-date the day that the next OSX or XCode is released.
Naturally RR has been working on the next update as
MarkW wrote:
...but seriously, anyone doing mobile development in LiveCode needs Colin's
book.
http://www.amazon.com/gp/product/B008Q7H84A/
I second that.
Colin's book is a terrific introduction not only to mobile development with
LiveCode, but to LiveCode itself.
Very clear instructions
On 09/10/2012 17:28, Peter Haworth wrote:
On Tue, Oct 9, 2012 at 1:48 AM, Ben Rubinstein benr...@cogapp.com wrote:
It's effectively nullified by what I think is a bug
http://quality.runrev.com/**show_bug.cgi?id=3406http://quality.runrev.com/show_bug.cgi?id=3406
It should be what you set so
On 10/9/12 11:28 AM, Peter Haworth wrote:
Still don't understand what Variable Preservation was supposed to do
though. It sounds like a different thing than explicit variables or
variable checking.
It's largely historical now. In the olden days, editing and recompiling
a script would wipe
Ah! Once again, crystal clear explanations from Jacque. Thanks that makes sense
now.
On Oct 9, 2012, at 10:22 AM, J. Landman Gay wrote:
On 10/9/12 11:28 AM, Peter Haworth wrote:
Still don't understand what Variable Preservation was supposed to do
though. It sounds like a different thing
On 10/9/12 10:47 AM, Mark Schonewille wrote:
I didn't mean to contact support. I meant to express my worries
publicly and no more than that.
It's well known the RR team doesn't read this list regularly. I can't
think of a reason to post concerns here that only they can answer.
--
Pete-
Tuesday, October 9, 2012, 9:36:51 AM, you wrote:
For example, with help from a kindly customer, I discovered that the
following line of code in a script:
set the visible of stack tstackname to true
... caused the rest of the script to not execute.
I end up bracketing code like that
Richard and Jacque,
Thanks for the explanation, I had guessed it was something like that.
However, I do sometimes still experience script local variables being
wiped out when I edit/Apply changes to the script they are defined in. It
doesn't happen all the time and I haven't been able to tie it
Hi Jacque,
As I wrote before, I wanted to express my worries and perhaps share them with
others (not you), who might be interested in knowing what I think. I didn't
expect an answer from RunRev. If you don't like how I express my thoughts, then
don't respond.
--
Best regards,
Mark
Thanks Ben, those are interesting conventions. I hadn't come across the
extra prefix to denote the data type of the variable, although I have seen
a convention where the letter a is appended to array variables.
Pete
lcSQL Software http://www.lcsql.com
On Tue, Oct 9, 2012 at 10:14 AM, Ben
I think I tried that Mark and in this case, got nothing back. It's as if
the engine starts to execute the set command and never returns to the
script so the catch construct is never reached. I can't remember if I
tried setting the global you mentioned that causes debug to step through
the IDE
I didn't try that Bob but will give it a whirl.
Pete
lcSQL Software http://www.lcsql.com
On Tue, Oct 9, 2012 at 9:49 AM, Bob Sneidar b...@twft.com wrote:
Pete, out of curiosity, did you try show stack tStackName? It should be
the identical command, but what the hey? Worth a shot. I do not
Just to add to my consternation, the problem I described happened on a
customer's machine and try as I might, I could not reproduce it on my
computer using the same versions of LC and OSX. I'm convinced that there
weren't any other plugins or front scripts on the customer's computer that
might
I've been pondering what the ramifications to sql session disconnects are. I
have seen in other professionally developed applications, like our accounting
software used here, that if the user gets disconnected for anything longer than
a few seconds, the software completely bails out through a
Jacque,
I don't understand why you say you're sure that I don't believe.. etc... as I
indeed never suggested anything like that. It is the same as saying that you're
sure that I don't think that stone bricks float in water.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and
Hello,
I want to display a line of text -- in a field, over a photo. The loc of the
field will scroll down. I want the text to be as legible as possible, but the
photo will vary. I'm wondering about the best way to make the text legible.
What do you suggest?
--A black font with a white
Hey Tim,
I would make a soft-edged, white box and save it as a transparent PNG,
then import that into LC and use then use the graphic settings to make
it semi-opaque. Then place your transparent text field over the top and
position those over your photo.
Marty Knapp
Got it. Thanks Marty.
Is there a way to import the image into the background of the field, so I only
have to scroll the loc of one object, instead of two?
Tim
On Oct 9, 2012, at 12:02 PM, Marty Knapp wrote:
Hey Tim,
I would make a soft-edged, white box and save it as a transparent PNG,
I have a front script that traps nameChanged messages and dispatches a
message to a handler in my stack that contains all the code necessary to
deal with the name change. I want to step through the name changed handler
in debug. No matter where I set a red dot breakpoint or a breakpoint
command,
Hi Tim,
For such tasks, I use a transparent field with white text and an outerglow with
the following settings:
opacity 255
blendmode normal
size6
range 255
filter box3pass
color 0,0,0
spread 0
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software
well COMMIT/ROLLBACK should handle the possibility of data loss.
As far as connections I've found that there is little time difference
between being 'always connected' and making a connection open and close per
transaction, unless one is hitting it repeatedly for a single result (as I
had to to
Jan,
I sent several emails to you but have not received a reply. Please contact me
off of the list. I have a Quartam Reports Pro problem.
Thanks!
Charles Szasz
csz...@mac.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please
It depends on the image. If the image has a lot of detailed and mixed contrast,
Marty's approach may be the best. However, if there is a dark area or light
area, you want your type to be a decent contrast of that. A drop shadow on the
text should work fine. I'm pretty sure you can apply a drop
I was getting disconnected from On-Rev within an hour of inactivity, and all my
database calls failed when the connection was closed by the host. Also, certain
network outages or problems can cause managed switches to reset, notably
excessive broadcasts, and when this happens, the SQL
I'm assuming this is mySQL?
There is a server setting that determines the inactivity timeout period.
It's either wait_timeout for a non-interactive client or
interactive_timeout for an interactive client. I assume that LC opens
mySQL dbs as an interactive client. According to the mySQL
Thanks Pete.
What I do now is I have my own library of calls for opening a connection (which
is really my own internal system of checking to make sure the parameters are in
order and setting a global if successful) then for reconnecting, which is
really making a connection in the LC sense,
On Oct 9, 2012, at 12:40 PM, Mark Schonewille wrote:
Hi Tim,
For such tasks, I use a transparent field with white text and an outerglow
with the following settings:
opacity 255
blendmode normal
size 6
range 255
filterbox3pass
color 0,0,0
spread0
Thanks
Hello,
I thought this would be easy. It isn't working right. Don't know what to do.
The script:
on mouseUp
put 537,1 into locVar
repeat with i = 1 to 650
set the loc of field foo to locvar
add 1 to item 2 of locVar
wait 1 millisecs
end repeat
end mouseUp
It works,
Pete-
Tuesday, October 9, 2012, 12:21:57 PM, you wrote:
Debug is enabled and I can use it just fine in handlers that aren't reached
via a front script. IS there something about front script execution that
prevents debug from working?
Depends. If the frontscript is a script from a plugin
It is a script from a plugin so that explains it. I'll give that global
you mentioned for debugging rev scripts a try.
Pete
lcSQL Software http://www.lcsql.com
On Tue, Oct 9, 2012 at 5:59 PM, Mark Wieder mwie...@ahsoftware.net wrote:
Depends. If the frontscript is a script from a plugin then
On Tue, Oct 9, 2012 at 9:51 AM, Bob Sneidar b...@twft.com wrote:
OH! Kind of like a local global?
I've used so many languages over the years that they all run together,
but isn't it C that scopes things so that if I have a routine defined
within another, it has access to the parent's
On Tue, Oct 9, 2012 at 7:46 AM, Mark Schonewille
m.schonewi...@economy-x-talk.com wrote:
Apple provides developers with preview releases of Mac OS X and
XCode. That's sufficient to make sure that RAD tools like LiveCode are
up-to-date the day that the next OSX or XCode is released.
And speaking
On Sun, Oct 7, 2012 at 2:45 AM, Richmond richmondmathew...@gmail.com wrote:
Possibly there is an open-source 'something' for PDF around and about that
can be
leveraged with Livecode:
ghostscript and ps2pdf are a possibility.
Unfortunately, on mac, you seem to need to install macports first,
A small claim to fame of mine, I was the first person anywhere to be running
System 7 full time. I was using it all the time from around Alpha 9. The System
7 team themselves were using it full time from about Alpha 11. I think it was
around 18 months from the times I was using it until it was
On 10/9/12 7:08 PM, Timothy Miller wrote:
on mouseUp
put 537,1 into locVar
repeat with i = 1 to 650
set the loc of field foo to locvar
add 1 to item 2 of locVar
wait 1 millisecs
end repeat
end mouseUp
It works, but it takes a whole lot longer than 650
Hi LiveCoders
This morning Guglielmo emailed me asking if the background task execution
external that I had discussed on the developer list a while back was available.
RunRev don't officially support apps that don't quit on suspend at the moment
so I hadn't released it. After Guglielmo's
On Tue, Oct 9, 2012 at 8:09 PM, J. Landman Gay jac...@hyperactivesw.com wrote:
That's what script local variables are. Declare them at the top of the
script (or before any other handler uses them) and all handlers in that
script (and that script only) have access to it:
local sCounter
Howdy Folks,
Several of you have inquired lately about the status of FieldTrip and
I'm pleased to report that we're almost ready for the first beta release!
(It's been a while and I apologize for the delay. My health took a big
dive just when I was busiest, and I also was waiting for an
77 matches
Mail list logo