Gosh, my e-mail gets more and more thrilling.
I particularly like the title of this one because, just the other night
my wife actually shouted at me, from bed; "When the hell are you coming
to bed and
stopping messing around with Revolution?"
Oddly enough, when I opened the e-mail, it was NOT
That sounds brittle -- or in practice does it Just Work?
Sent from my iPad
On Feb 21, 2012, at 4:36 PM, Mark Wieder wrote:
> Geoff Canyon Rev writes:
>
>> I'm looking at the docs for Eclipse and I see "safe rename." Is that what
>> you're talking about? Out of curiosity does it mean that when
Hi Mark,
I often have thought about signing my program to avoid this "do you want to
continue?"
What kept me from doing this up to now, is that I don't know what happens
with update setups, new versions of the same program, etc.
Somebody told me, that I have to apply for a new certificate at Micros
On 22/02/2012 07:37, Graham Samuel wrote:
Ken I AM using your code, and very grateful I am for it; but that doesn't stop
me being worried by RunRev apparently altering the engine to be slightly less
cross-platform than one might hope, and then not being very clear about it.
IMHO this is bad ne
Hi all,
I know a few of you are using Linux as a primary platform.
As I am rather green with Linux, I wonder if you care to share your experiences
regarding robustness of the engine. I sometimes peek at the IDE under UBUNTU
and wonder if I can rely on the engine the same way I can under Mac an
Have a look at the environment function in the dictionary... this function will
be your friend in the circumstances in which you find yourself... for example
on openCard
if environment() = "mobile" then
do it this way
end if
if environment() = "development" then
do it an
The subject line says it all.
I would like the like the clicked line to do something visual that tells the
user that his action has been recognized.
Thanks,
Jim
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subs
Peter, very cool. I'm going to have fun with that one. LC is very powerful at
times. Oh, and thanks for posting to the bug list. While it is possible that
RR will say this behavior conforms to a particular standard and you just
have to code for it (as you have below) its still way, way to much work
Hi Jim,
Like what? There are at least 10 ways to do this.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Download the Installer Maker Plugin 1.7 for LiveCode here
Probably something like this will do:
on mouseup
put word 2 of the clickline into lineNbr
select line lineNbr of me -- assumes autohilite = true
wait 8 ticks
select empty
end mouseup
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On Feb 22, 2012, at 10:05 AM,
I think you CAN use NULL as a value to pass, but the NOT NULL of the column has
to be unchecked.
Bob
On Feb 21, 2012, at 7:46 PM, Mark Smith wrote:
>
> Peter Haworth-2 wrote
>>
>> The only way round this that I've found as in my earlier email is to not
>> include the integer column in any I
Geoff-
Wednesday, February 22, 2012, 1:33:15 AM, you wrote:
> That sounds brittle -- or in practice does it Just Work?
Well, it would probably be foolish to say it *always* works, but it's
done the job for me when I've used it. I've been cautious, though, and
done a dry run first to see what was
On 2/22/12 3:08 AM, Richmond wrote:
Mind you, in J. Landman Gay's case I am quite sure, while she is
screaming, it is probably in front of
the computer rather than elsewhere . . . :)
Usually, yes. The last time I screamed in bed was when I woke up with a
leg cramp.
--
Jacqueline Landman Gay
Hi, I have 38 buttons on a form that I need to copy their hilite value to a
temporary variable. Is it possible in LC to do something like
for x = 1 to the number of buttons on card y
put the hilite of btn"x" into tButtonx
end
instead of writing out manually, 38 times:
put the hilite of btn
Hi All,
I have been reading a lot about virtualization and creation of portable
applications, but could not found a definite answer to this question.
Ken Ray published a portable player (StackRunner
http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm)
that uses either Apple's
Hey Mark,
Yes - I'd loop through and make a comma delimited list
repeat with x=1 to the number of btns
put the hilite of btn x & comma after myHiliteList
end repeat
Then if you need to you can save that and use it to set the hilites at a
later time.
Works for me.
Marty K
Hi, I have 38 but
not for.
repeat with x = 1 to the number of buttons of this card
do "put the hilite of button x into button" & x
-- a better way
put the short name of button x into ButtonHilitesA[x]["name"]
put the hilite of button x into ButtonHilitesA[x]["state"]
end repeat
Now you have a numbered arra
Hi Mark,
That would be:
repeat with x = 1 to the number of buttons of cd y
put the hilite of btn x into myButtonArray[x]
end repeat
If you want to have the hilites as text, you might want to use a normal
variable instead of an array:
put the hilite of btn x & cr after myButtonList
Make sur
On 21.02.2012 at 19:46 Uhr -0800 Mark Smith apparently wrote:
Which sort of works, until you consider the case of wanting to back out a
value (revert from some value to NULL). At present, I think I'll just stick
with using text fields, but we should definitely report this to RR. If the
user wants
Peter,
Perfect. I was trying the following:
on mouseUp
put the clickline into tClickline
set the textStyle of line (word 2 of tClickline) of me to "bold"
wait 1 seconds
set the textStyle of line (word 2 of tClickLine) of me to "plain""
end mouseUP
But LC ignored the wait time, set
On 2/22/12 11:12 AM, Bob Sneidar wrote:
not for.
repeat with x = 1 to the number of buttons of this card
do "put the hilite of button x into button"& x
-- a better way
put the short name of button x into ButtonHilitesA[x]["name"]
put the hilite of button x into ButtonHilitesA[x]["st
No problem Mark. I've come across other anomalies in the way LC handles
databases over the last few months.
The bug report numbers are 10022 for the empty/zero problem and 10023 for
the incorrect handling of the reserved keyword NULL.
Pete
On Wed, Feb 22, 2012 at 7:07 AM, Mark Smith wrote:
> P
I am constantly doing do! Don't you?
Bob
On Feb 22, 2012, at 9:41 AM, J. Landman Gay wrote:
> On 2/22/12 11:12 AM, Bob Sneidar wrote:
>> not for.
>>
>> repeat with x = 1 to the number of buttons of this card
>> do "put the hilite of button x into button"& x
>> -- a better way
>> put the
In FileMaker, because it's inherent to the way they do it, I've never heard
of it breaking. It's kind of a chickens vs. pigs situation -- where for
breakfast the chicken is involved, but the pig is committed. If something
goes wrong with safe rename, they just issue a note saying "we're looking
int
Forgive me if I misunderstand, but I was under the impression that empty and
NULL are two different things. I just updated a column in a mySQL table from LC
with the value NULL (not enclosed in quotes) and when I checked the table, the
value was NULL, not an empty string, as I would expect. If I
>From time to time I get an error report from users using my Windows standalone
>which displays this:
"Runtime Error! [path to the .exe] This application has requested the
Runtime to terminate it in an unusual way."
It's kind of odd wording. I guess if I saw stalks of broccoli sprouting ou
Hi,
I am displaying a simple video on an iPhone screen using iphoneControlSet
"ioscontrol".
My app is only with vertical orientation.
Is there any way that only for the video, when the user rotates the iPhone, the
video rotates to horizontal orientation ?
Thanks.
Ser
Thanks Ruslan:
I think I'll wait for vsn 5.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
It may be a small distinction, but NULL is ASCII 0. An empty string is nothing
at all, so far as I know. To a human this is splitting hairs, but to a computer
all hairs must be split.
Bob
On Feb 22, 2012, at 8:58 AM, Robert Brenstein wrote:
> On 21.02.2012 at 19:46 Uhr -0800 Mark Smith appar
Bob,
Check back in my earlier emails on this thread. As you experienced,
specifying NULL with no quotes results in the literal string "NULL" going
into the column which is totally wrong. NULL means "no value", not empty
nor the literal value "NULL". Just to confuse things even more, when you
rea
Hey Folks,
Is it safe to upgrade to Lion yet? I'd rather stay with snow leopard but
with mountain lion around the corner, snow leopard becomes outdated in the
sense of not being allowed into iCloud and things like that. If I don't
migrate to Lion or Mountain Lion, I will not be able to move to iCl
Hi Andre,
Only recently I created an iCloud account. I don't use it, but I wanted to
reserve my e-mail address and experiment a little. I have no problems accessing
iCloud from Apple Mail and Safari on Snow Leopard and from my iPhone, but I
think there are quite a few features I don't use, e.g.
Malte,
I think the linux engine and IDE is not as good as their siblings on MacOS
X and Windows. The redraw routines used to be slower than the others but I
haven't tested it since the latest graphical reorganization.
But with MacOS X getting more and more like iOS and Windows being Windows,
I th
I'm running 10.7.3 and LiveCode has been running flawlessly for me. The big
issue with 10.7 is that, out of the box, it won't run the older PPC apps like
AppleWorks 5. I think you can still install Rosetta on it? Not sure, because
I don't own any of those old programs any more.
---
Richard
Ok. But if it really were the string value "NULL" that gets saved to the
database, wouldn't you get "NULL" in your select statement?? Try using a
lowercase null in your update statement, then view the sqLite table with a
utility to see what it says the value is. If it's capital NULL it is actual
Allow me to expand on the subject a bit with a couple methods I use when
working with databases. First method is this. When I am working with a record
from a table, I store all the column values in an array whose keys are the
column names. If I am inserting a new record, I manually create the ar
Hey Andre,
I have reported 2 bugs (#6430 & #9980) and posted the issues on here that I've
had with LC5.0.2 on Lion, they are 'mouseColor' and 'import snapShot', they
both return total garbage. The worst issue is that if mouseColor is active, LC
or a standalone will crash if the cursor is moved
This horse being not quite dead, I will venture to flog it (gently).
I have been using 'the platform' forever too (and sometimes 'the environment'),
to do different things according to the platform I'm running on. I am greatly
admiring of the cross-platform capabilities of LC, and indeed have be
Hi All...
I've tried both Ken and Gerry's suggestions for downloading images in the
background via a URL.
In Ken's example, I was able to get the an images downloaded to a img object,
however when navigating to another card LiveCode started behaving strangely and
it would lock up for a minute,
On 22/02/2012 22:21, John Patten wrote:
I've tried both Ken and Gerry's suggestions for downloading images in the
background via a URL.
I attempted to combine both Ken and Gerry's examples, in order to prevent the
error messages I was receiving in Ken's first example. However, it is not
workin
Paul,
thanks for the comments. Wow, someone has seen LocoSnap, I thought now one
ever looked into it. It is a fun toy, I use it every now and then when I
need to take shots from stacks. Skitch is loosing its appeal since it was
acquired by Evernote.
I think I will migrate directly to Mountain Lio
I can think of a couple causes:
1. Some line in your code includes this:
quit "broccoli"
2. There is a problem with the realtime C library used to build an external or
even LiveCode. Perhaps there is a mismatch of some sort.
After some consideration, I think it is more likely the se
Jacque-
Wednesday, February 22, 2012, 8:46:07 AM, you wrote:
> Usually, yes. The last time I screamed in bed was when I woke up with a
> leg cramp.
Oh. That was you?
--
-Mark Wieder
mwie...@ahsoftware.net
___
use-livecode mailing list
use-livecode
Andre-
Wednesday, February 22, 2012, 2:37:50 PM, you wrote:
> I think I will migrate directly to Mountain Lion because I am felling
> adventurous.
You might try installing it into a vm to try it out first.
--
-Mark Wieder
mwie...@ahsoftware.net
__
I got to thinking that was not very helpful. Here are some more details. The
"runtime" mentioned is the Visual Studio C runtime library, not the LiveCode
runtime. Even then, the sentence is goofy It essentially means that abort()
has been called using an older runtime library, probably in a
Ken-
Tuesday, February 21, 2012, 9:12:32 AM, you wrote:
> Thank you for listening to this rant
...you left out "think diff..." oh... never mind...
--
-Mark Wieder
mwie...@ahsoftware.net
___
use-livecode mailing list
use-livecode@lists.runrev.com
On Wed, Feb 22, 2012 at 8:01 PM, Mark Wieder wrote:
> Andre-
>
> Wednesday, February 22, 2012, 2:37:50 PM, you wrote:
>
> > I think I will migrate directly to Mountain Lion because I am felling
> > adventurous.
>
> You might try installing it into a vm to try it out first.
>
oh I don't dream of
Careful! Adventurous is a tall tree to fell!
Bob
On Feb 22, 2012, at 2:37 PM, Andre Garzia wrote:
> I think I will migrate directly to Mountain Lion because I am felling
> adventurous.
>
> Cheers
> andre
___
use-livecode mailing list
use-livecode@l
If they had put a nice video card into it, they would have then had to put it
in a nice metal case and call it a Macbook Pro. :-)
Bob
On Feb 22, 2012, at 3:09 PM, Andre Garzia wrote:
> On Wed, Feb 22, 2012 at 8:01 PM, Mark Wieder wrote:
>
>> Andre-
>>
>> Wednesday, February 22, 2012, 2:37:5
Hi Malte,
In short :
The engine is rock solid and as unbreakable as you can expect (cgi mode, shell
interface and all non GUI uses).
The IDE is a little more capricious but nothing insurmountable after some
arrangement against the X11 desktop GUI (KDE, Gnome).
About OpenSuse : just my prefer
Bob,
yep... I had to buy a macbook pro because of the better video card. I was
doing some video stuff and the white macbook couldn't run the software.
I wish I could keep on Linux forever but Mac OS X still a very good
system... I am just afraid of Apple.
On Wed, Feb 22, 2012 at 8:17 PM, Bob Sn
I installed SuSE's PPC version on my White G4 and got 1280 x 1024, so it's not
the video card, it's the lock that Apple put on it to make you buy a PowerBook
(or Mac Book Pro).
Tim
On Feb 22, 2012, at 4:35 PM, Andre Garzia wrote:
> Bob,
>
> yep... I had to buy a macbook pro because of the bet
Still installed on an external flash drive. Seems to work mainly well in its
10.7.2 version but still don't feel confident enough to use it as main OS...
--
Pierre Sahores
mobile : 06 03 95 77 70
www.spimsco.net : la première solution saas open source et commerciale de
développement sémantique pr
Very informative Dar. I'll check into the operating system and take a close
look at the externals.
Thanks,
Ray
On Feb 22, 2012, at 5:03 PM, Dar Scott wrote:
> I got to thinking that was not very helpful. Here are some more details.
> The "runtime" mentioned is the Visual Studio C runtime l
Thanks Ken!
I went round and round with this, but I think I have it now.
I only had to make one change. That was value of idx was including the image
url, so that it contained (2, http://theimageurl.jpg) I just asked it to put
word 1 of idx into idx and that seemed to fix that issue. I also add
Bob,
Sorry but you're wrong on all counts. Read my earlier mails for info In
particular, LC is not retuning empty for a NULL value in an integer column
- it's returning zero, that's where this whole mess started!!! I am quite
happy for it to return empty for a NULL value but that's not what is
h
I am not afraid of Apple. I am afraid of Apple scattering in different
directions now that Steve is gone. You will remember years ago they almost sunk
the corporate yacht because they were trying to go in many directions at once.
Bob
On Feb 22, 2012, at 3:35 PM, Andre Garzia wrote:
> Bob,
>
I am not aware that Apple locks their hardware so that you cannot run other
systems. They do however go to great lengths to make sure their system cannot
be installed on other hardware (which they are not entirely successful at btw).
I think the problem is that the Linux drivers have to work wi
They sure do lock their hardware (the new stuff anyway)! We tried to boot
from at least 10 Live-CDs from a variety of popular and unknown distros.
This was on the absolute latest MacBook Pro! You could only run Linux in
a VM. No native boot except for OS X.
~Roger
On Wed, Feb 22, 2012 at 8:0
I just tested this with a numeric column in mySQL. The column has NOT NULL
unchecked and the default value set to NULL. When I updated from LC setting the
column to NULL that is the value that the column was set to. HOWEVER if I
updated the column with an empty string, I got 0 just as you say. W
I would be curious to know what errors you encountered. Did the CD simply
refuse to boot? Anything mentioned about the chipset? Reading up on Google, it
looks like Linux is using something called UEFI but Apple only supports EFI
booting. I read this from one article:
Caution for Mac owners
>Fr
On Tue, Feb 21, 2012 at 11:16 PM, Geoff Canyon Rev wrote:
> but
> I've been fooled by the near-infinite speed of repeat for each too many
> times to count.
>
> Haven't we all.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this
On 2/22/12 12:34 PM, Sergio Schvarstein wrote:
Hi,
I am displaying a simple video on an iPhone screen using
iphoneControlSet "ioscontrol".
My app is only with vertical orientation.
Is there any way that only for the video, when the user rotates the
iPhone, the video rotates to horizontal orien
spit out my coffee... I love your view of the world...Richmond.
On 22 February 2012 01:08, Richmond wrote:
> Gosh, my e-mail gets more and more thrilling.
>
> I particularly like the title of this one because, just the other night
> my wife actually shouted at me, from bed; "When the hell are y
Is there any way, in the native LiveCode language, to check for the number of
occurrences of one string in another? FOr example:
put substringCount( "p", "apple" )
// returns 2
just curious
Thanks!
___
use-livecode mailing list
use-livecode@lists.run
>
> I have reported 2 bugs (#6430 & #9980) and posted the issues on here that
> I've had with LC5.0.2 on Lion, they are 'mouseColor' and 'import snapShot',
> they both return total garbage. The worst issue is that if mouseColor is
> active, LC or a standalone will crash if the cursor is moved
function substringCount pChar, pString
put 0 into theCount
repeat for each char theChar in pString
if theChar is pChar then
add 1 to theCount
end if
end repeat
return theCount
end substringCount
Would work out nicely if there is not built in
The offset() function has a third parameter: chars to skip. So if you call
offset in a loop with the third param set to the previous result, and count
loops until it returns 0, Bob's your uncle.
On Feb 22, 2012, at 7:37 PM, Andrew Kluthe wrote:
> function substringCount pChar, pString
> put
only works for single characters.
function substringCount pString, pChunk
replace pString with cr & pString & cr in pChunk
filter pChunk with pString
return the number of lines of pChunk
end substringCount
Bob
On Feb 22, 2012, at 7:37 PM, Andrew Kluthe wrote:
> function substringCount p
There are several ways to do this i'm sure.
If you want to search a field you can use find in a function for the task
-- I put this in a button. Find empty ensures we start at the beginning of
the field.
-- the repeat loop goes until the findit function returns false, adding 1
to the total each
I am everyone's Uncle. Still, no repeat loops needed. See my solution.
Bob
On Feb 22, 2012, at 7:44 PM, Jerry Jensen wrote:
> The offset() function has a third parameter: chars to skip. So if you call
> offset in a loop with the third param set to the previous result, and count
> loops until
Was a pretty snazzy solution. Only problem I can see is if you were
searching say for "pp" in a string that has "pp" (you get what I mean)
If you want to match 1 and 2, 2 and 3, 3 and 4, 4 and 5, 5 and 6 it won't
work but if you want to match and eliminate 1 2, 3 4 etc its dandyfine. So
it wou
Interesting, doesn't work the way I'd expect with find either. Seems like
looking for pp in pp would find 5 matches. So I guess offset() would
be the way to go if you don't want this eliminative affect.
___
use-livecode mailing list
use-livecode@list
Aye, but after all, technically, for the question how many times does "pp"
occur in "pp", the correct answer is 3, unless you care about the fact that
pString overlaps. In that case the problem becomes more complex. But who would
want to know that??
Bob
On Feb 22, 2012, at 7:52 PM, Mike
Me! Just because i'm contrary.
On Wed, Feb 22, 2012 at 9:03 PM, Bob Sneidar wrote:
> Aye, but after all, technically, for the question how many times does "pp"
> occur in "pp", the correct answer is 3, unless you care about the fact
> that pString overlaps. In that case the problem becomes m
Bob's is the cutest of all solutions. Odd, but cute.
But this is a perfect chance to use a simple array:
repeat for each char tChar in yourString
add 1 to countYourChar[tChar]
end repeat
And then get the count from the array.
Craig Newman
-Original Message-
From: Bob Sneidar
To
Eureka! Looks like it is possible to virtualise StackRunner with Quicktime:
http://www.seancrookston.com/2010/07/12/how-to-thinapp-quicktime/
Now, I just have to find a ThinInstall user who want to build this
package for testing.
Al
--
View this message in context:
http://runtime-revolution.278
I've upgraded all my Macs to Lion and am very happy with it.
Bill Vlahos
_
InfoWallet (http://www.infowallet.com) is about keeping your important life
information with you, accessible, and secure.
On Feb 22, 2012, at 1:02 PM, Andre Garzia wrote:
> Hey Folks,
>
> Is it safe to u
Robert Brenstein wrote
>
>
> Have you tested that you get the same behavior with not-null setting
> for that integer field on and off? You should get different results.
>
HI Robert, while I was hoping it would unfortunately no, it didn't make a
difference.
-- Mark
--
View this message in co
slylabs13 wrote
>
> It may be a small distinction, but NULL is ASCII 0. An empty string is
> nothing at all, so far as I know. To a human this is splitting hairs, but
> to a computer all hairs must be split.
>
>
The scenario seems to be (1) if you create a new empty record all the
undefined v
Andre,
I'm with you. I've been waiting for Lion to be become glitch free before
taking the plunge, and it would seem just skipping it and going straight
with MoLi is the way to go.
As far as I can see there is actually nothing new in MoLl, just slight
tweaks to things that already exist. I'm assu
John,
The 'import snapShot' command works OK if I pass parameters such as 'import
snapshot from rect 250,250,450,450', but not if I use it without parameters to
allow the user to snap an area from screen using the crosshair cursor, so a
button with…
on mouseUp
import snapshot
end mouse
Yes - most of my gripes about Lion are about UI "Improvements" in their own
apps. The actual performance and reliability seem to be better.
I was getting used to using Preview as my go-to Photoshop replacement, then
Lion took away the "Save As.." menu item and function so now I have to do
this "m
I've more or less stopped using Rev because I only use Linux, and having got
a 22 inch monitor, I simply can't read most of the IDE unless I reset screen
resolution to much lower resolution. Or put on reading glasses which brings
its own problems. It doesn't make any difference which WM you use.
84 matches
Mail list logo