The spell check algorithm catches that.
On Wed, Sep 2, 2015, 7:38 PM Mark Wieder wrote:
> On 09/02/2015 07:10 PM, Peter Haworth wrote:
> > Hi Mark,
> > You sent me that a few months ago when I was writing my script and I
> > incorporated it.
>
> You don't really expect me to remember things, do
On 9/2/2015 11:49 PM, Ralph DiMola wrote:
I would have thought 5=005 would evaluate as true and "5"="005" would
evaluate as false.
LC will read "5" as a number because it will interpret what is inside
the quotes rather than see the whole thing as a string. You have to add
the quotes to the st
On 09/02/2015 09:49 PM, Ralph DiMola wrote:
I would have thought 5=005 would evaluate as true and "5"="005" would evaluate
as false.
In any other language that would work.
Unfortunately in LC everything's stringish.
--
Mark Wieder
ahsoftw...@gmail.com
__
I would have thought 5=005 would evaluate as true and "5"="005" would evaluate
as false.
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
Office: 518-636-3998 ex:11
Cell: 518-636-3998
Original message From: "J. Landman Gay"
Date:09/03/2015
On 9/2/2015 11:16 PM, Ralph DiMola wrote:
I was hoping that there was a way to coerce "005" into a string of 3 chars.
Adding specific quotes around it does that.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Thanks all. The length test or putting an alpha char before both seems like the
easiest. I was hoping there was another more elegant way. This makes me
rethink my LC habits in a big way. I was hoping that there was a way to coerce
"005" into a string of 3 chars.
Thanks again! !
Ralph DiMola
Hi.
Not sure what test values fit your needs, but does this help?
function noZeros arg1.arg2
if the length of arg1 <> the length of arg2 and arg1 = arg2 then return
"false" else return "true"
end noZero
This sidesteps several issues, but may not address, as I mentioned above, all
your n
Is there ever a case where this would return true?:
put "005" into a
put "5" into b
answer a = b and length(a) = length(b)
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subsc
On 09/02/2015 08:30 PM, J. Landman Gay wrote:
Interesting, thanks for that. So if I hit one of these phantom orphaned
dots it seems logical that clearing all breakpoints (from the Debug
menu) would reset everything and put me back in business. I'll try it
next time.
Actually, ignore all that.
On 9/2/2015 10:10 PM, Mark Wieder wrote:
The breakpoints are stored in one of two places: as a custom property of
the preferences file if you're dealing with a global variable, or as a
custom property of the owning stack if it's a local variable. The
breakpoint is stored as objectID, lineNumber.
Ralph DiMola wrote:
Feeling pretty clueless here but...
I need ("5" = "005") to be false. This is for password validation.
I could swear this used to work using some tricky combination of < and
>. Anyway, the trick is to make them compare as strings. Forcing
quotation marks seems to work:
On 09/02/2015 07:40 PM, Terry Judd wrote:
Can you add a non-numeric character in front of each before you do the
comparison?
+like.
I usually add an 'x' prefix.
--
Mark Wieder
ahsoftw...@gmail.com
___
use-livecode mailing list
use-livecode@lists.r
On 09/02/2015 07:50 PM, J. Landman Gay wrote:
Today I finally saw my first instance of a pirate red dot breakpoint
that didn't meet my previous criteria. I am initiated. This was in LC
7.0.6 which I have just started using more regularly. Prior to 7.x I had
never seen it happen except when a scr
Hi.
Not sure what test values fit your needs, but does this help?
function noZeros arg1.arg2
if the length of arg1 <> the length of arg2 and arg1 = arg2 then return
"false" else return "true"
end noZero
This sidesteps several issues, but may not address, as I mentioned above, all
your ne
On 9/2/2015 7:10 PM, Dr. Hawkins wrote:
I stand by my suggestion to predesignate them as "PCD", for "Pirate Code
Dots", as they aren't binding, but merely advisory . . .
Reminds me of an Italian who told me that over there, traffic lights are
mere suggestions.
Today I finally saw my first in
How about comparing as an array?
>From the LC Dictionary definition for “is":
When comparing arrays, the = operator first checks if the number of elements in
each array is the same, if not the two arrays are different. If the arrays have
the same number of elements, they are equal if each eleme
Could to a slightly more complex check..
First check if the length is the same, then do the comparison. (could even
check length, then do a char by char comparison)
On Wed, Sep 2, 2015 at 8:40 PM, Terry Judd
wrote:
> Can you add a non-numeric character in front of each before you do the
> compa
Can you add a non-numeric character in front of each before you do the
comparison?
Terry...
On 3/09/2015 12:33 pm, "use-livecode on behalf of Ralph DiMola"
wrote:
>Feeling pretty clueless here but...
>
>I need ("5" = "005") to be false. This is for password validation.
>
>Ralph DiMola
>IT Direc
wholeMatches?
Regards,
Scott Rossi
Creative Director
Tactile Media UX/UI Design
> On Sep 2, 2015, at 7:33 PM, Ralph DiMola wrote:
>
> Feeling pretty clueless here but...
>
> I need ("5" = "005") to be false. This is for password validation.
>
> Ralph DiMola
> IT Director
> Evergreen Informat
On 09/02/2015 07:10 PM, Peter Haworth wrote:
Hi Mark,
You sent me that a few months ago when I was writing my script and I
incorporated it.
You don't really expect me to remember things, do you?
Not sure what other things might make it a bad idea,
The tl;dr is that by letting an algorithm
Feeling pretty clueless here but...
I need ("5" = "005") to be false. This is for password validation.
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
___
use-livecode mailing list
use-livecode@lists.runrev.com
Pleas
Hi Mark,
You sent me that a few months ago when I was writing my script and I
incorporated it.
Not sure what other things might make it a bad idea, but I do incorporate
an algorithm that attempts to find variable names that might be
misspellings with various choices on what to do with them.
It's
on Tue Sep 1 2015
Kay C Lan wrote:
> I always thought that BareBones was a bit of a tongue in cheek
> understatement for such a full featured Text Editor but when
> I compare the 22MB BBedit to Atom's 208MB maybe
> the BareBones is justified :-)
Really!...I mean: REALLY!!!
A 208 MB Text E
On 09/02/2015 12:38 PM, Peter Haworth wrote:
Assuming the errors you are referring to are of the "undeclared variable"
type, I have a utility that inserts local statements for any undeclared
variables. Maybe I should offer it to the team.
A number of reasons why this isn't a good idea.
But the
Sure Ali, have a look at bug #15814. I even did the leg work to find out
at which version it broke.
http://quality.runrev.com/show_bug.cgi?id=15814
On Sep 2, 2015 5:45 PM, "Ali Lloyd" wrote:
> Hi Roger,
> We'd be keen to receive bug reports on the key features you rely on that
> are breaking do
The file extension I am using is .lc so I tried .irev and neither would
colorize. That's why I tried wrapping the code in , which is fine
with me. I was previously using Notepad to edit .lc files.
On Sep 2, 2015 8:07 PM, "Kay C Lan" wrote:
> Gentlemen,
>
> sorry for the slow reply but my emplo
On Wed, Sep 2, 2015 at 10:59 PM, Mark Wieder wrote:
> On 09/02/2015 05:43 AM, Kay C Lan wrote:
>
> You don't think you're being a bit over dramatic?
>>>
>>
> Who? Me? lol.
>
> Oh, good. I wasn't too sure, you always strike me as a very knowledgeable
and extremely intelligent person and unfortunat
On Mon, Aug 31, 2015 at 4:57 PM, Kay C Lan wrote:
>
> Yes, that's exactly what I've come to do, but as per other posts, the
> overall impression newcomers to LC will get with such idosyncracies of the
> Script Editor/Debugger is not a good one.
>
I stand by my suggestion to predesignate them as
Gentlemen,
sorry for the slow reply but my employer had the audacity to expect me to
work for my pay ;-) Unfortunately that typically involves long periods of
no or restricted internet.
Anyway, thank you for your time to look into this.
My set up is:
Atom: 1.0.9
Language-Livecode: 0.5.1
revigni
Hi Roger,
We'd be keen to receive bug reports on the key features you rely on that
are breaking down, if you're willing to elucidate, or if you have already
done so, what bugs other than the aforementioned speed issue are affecting
you.
On Wed, 2 Sep 2015 at 18:07, Roger Eller
wrote:
> On Wed, S
Keep in mind that the default behavior when a stack receives focus of selecting
in the first field with traversalon = true can be overridden if you put all
fields with traversalon = true into a group with traversalon = false.
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~p
Having an issue with the following statement in SQLite.
SELECT col1,col2 FROM TableA WHERE colid IN (:1)
This is executed with
put revQueryDatabase(gdbid,tsql,"tArray") into tCursor
If tArray[1] contains a single integer, the SELECT works, if tArray[1]
contains a comma separated list of integer
Assuming the errors you are referring to are of the "undeclared variable"
type, I have a utility that inserts local statements for any undeclared
variables. Maybe I should offer it to the team.
On Wed, Sep 2, 2015 at 11:26 AM Mark Wieder wrote:
> Richard Gaskin writes:
>
> Good points, and I'v
Richard Gaskin writes:
Good points, and I've rather given up trying to convince developers
to let the IDE help them avoid errors. But there are those of us who think
that it might be a good idea to get system stack errors fixed rather than
sweeping them under the rug.
--
Mark Wieder
ahsoftw..
Dr. Hawkins writes:
> Having solved it for my own, I'm not going to worry about this any further
> if it can't bite people now . . .
My guess, without having looked at your stack, is that there is a
previously compiled script that uses the command syntax. If you
haven't recompiled it then it won
Liking Textmate for script editing but have a couple of things I'd like to
fix.
Textmate doesn't automatically add end statements for commands such as if,
repeat, try, etc.
There is no indentation after a case statement.
I'm not seeing any autocompletion happening.
I'm sure there are ways to ma
On Wed, Sep 2, 2015 at 11:46 AM, Richard Gaskin
wrote:
> Richmond wrote:
>
> >>> On 2 Sep 2015, at 10:03, Richmond wrote:
> Would it be permissible to sell a book with a CD strapped to its
> back containing community versions of LiveCode?
>
> ...
> You'd be in good company if you
Richmond wrote:
> On 09/02/2015 12:26 PM, Kaveh Bazargan wrote:
>>
>> On 2 September 2015 at 14:36, Fraser Gordon wrote:
>>>
>>> On 2 Sep 2015, at 10:03, Richmond wrote:
Would it be permissible to sell a book with a CD strapped to its
back containing community versions of LiveCode?
>>>
Mark Wieder wrote:
On 09/02/2015 05:43 AM, Kay C Lan wrote:
You don't think you're being a bit over dramatic?
Who? Me? lol.
Seriously, though... here's a case in point.
When I first released PowerDebug it was wide open as far a catching any
problems. Soon users started reporting that they w
On Wed, Sep 2, 2015 at 8:01 AM, Mark Waddingham wrote:
> I suspect this is a lingering definition which was somewhere in the
> message path in the IDE.
>
> When the engine looks for what handler to call it checks each stage in the
> message path in order for the pair (handler type, handler name).
cut doesn't throw error when failing in standalone
Dr. Hawkins dochawk at gmail.com
Wed Sep 2 16:15:54 CEST 2015
Previous message: functions may be called as commands in IDE, but not in
standalone
Next message: cut doesn't throw error when failing in standalone
Messages sorted by: [ date ] [
Therefore, if you are seeing this in the IDE then it is likely via
something IDE specific you are using *or* you have lingering
definitions in
a library stack or similar somewhere which you are loading into the
IDE
I'll create another test, then. It may have run the code in an older
version
On 09/02/2015 05:43 AM, Kay C Lan wrote:
You don't think you're being a bit over dramatic?
Who? Me? lol.
Seriously, though... here's a case in point.
When I first released PowerDebug it was wide open as far a catching any
problems. Soon users started reporting that they were seeing weird
s
On Wed, Sep 2, 2015 at 7:29 AM, Mark Waddingham wrote:
> When you say 'when executed in the IDE' in what context do you mean? A
> script? The message box?
>
I mean that when my stack and library stack run in the IDE, it doesn't
choke on that line, but calls the function from the line "somefunct
On 2015-09-02 16:13, Dr. Hawkins wrote:
After a couple of days of frustration, compiling standalone to get test
messages, I discovered:
function someFunct a, b
then a script that has
someFunct cat, dog
will execute someFunct in the IDE. In a standalone, it fails to find
the
handler.
I
On 2015-09-02 16:15, Dr. Hawkins wrote:
While I"m at my oddball reporting:
When attempting to cut in a standalone within a password protected
stack,
it fails without throwing an error. I finally found the issue by
looking
at "the result".
Is this already reported?
This is not strictly a
While I"m at my oddball reporting:
When attempting to cut in a standalone within a password protected stack,
it fails without throwing an error. I finally found the issue by looking
at "the result".
Is this already reported?
--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
_
After a couple of days of frustration, compiling standalone to get test
messages, I discovered:
function someFunct a, b
then a script that has
someFunct cat, dog
will execute someFunct in the IDE. In a standalone, it fails to find the
handler.
In my case, someFunct was originally a comman
On Wed, Sep 2, 2015 at 6:53 AM, Mark Wieder wrote:
>
> 'Strict Compilation" doesn't do what you think it does
> What you really want to do is
> set explicitVars true
>
> Thanks Mark for the explanation. That is very interesting. I've 'Starred'
you response because I'm sure this is on of those
On 09/02/2015 04:31 AM, Fraser Gordon wrote:
Opera works - it isn’t one that we’d particularly tried to support at this
stage.
Keep in mind that Opera now uses the Chrome/Blink rendering and
javascript engines, as apparently does Vivaldi.
Warren
___
Hi LiveCode Community,
I'm sure you've heard the good news, but in case you missed it: HTML5 is
officially here! You can read about it and download it here:
https://livecode.com/how-to-run-app-in-browser/
You can also stay up to speed on the new Business Application Framework:
https://livecode.
Peter W A Wood wrote
> Thanks Klaus. Co-incidentally, Bernd also pointed this out to me. It seems
> the LiveCode community in Germany may be small but you’re all very smart
> (and helpful).
>
> Peter
Hi Peter,
Klaus is the smart German, I learned this from Klaus and also mentioned that
in the com
> On 2 Sep 2015, at 00:15, Klaus major-k wrote:
>
> Hi Peter,
>
>> Am 01.09.2015 um 15:23 schrieb Peter W A Wood :
>>
>> Peter
>>
>>> On 31 Aug 2015, at 23:40, Peter TB Brett wrote:
>>> If you go into the dictionary in the IDE, there's a drop down menu at the
>>> top left.
>> Not in LiveC
On 2 Sep 2015, at 07:18, Warren Samples wrote:
> On 09/01/2015 11:36 PM, Alejandro Tejada wrote:
>> On Ubuntu Linux, works fine Firefox
>>
>> Chrome and Opera shows this message:
>> Exception thrown, see JavaScript console
>
>
> It works here in Opera 31.0 and Chrome 44.0 (also works in Chrom
On 09/02/2015 12:26 PM, Kaveh Bazargan wrote:
On 2 September 2015 at 14:36, Fraser Gordon
wrote:
On 2 Sep 2015, at 10:03, Richmond wrote:
Would it be permissible to sell a book with a CD strapped to its back
containing
community versions of LiveCode?
Yes, that is allowed. As the Communit
>> Would it be permissible to sell a book with a CD strapped to its back
>> containing
>> community versions of LiveCode?
>
> Yes, that is allowed. As the Community engine is GPL’ed, you’d have to
> include an offer to supply the source code for the engine, but you can do
> this by having the so
On 2 September 2015 at 14:36, Fraser Gordon
wrote:
>
> On 2 Sep 2015, at 10:03, Richmond wrote:
>
> > Would it be permissible to sell a book with a CD strapped to its back
> containing
> > community versions of LiveCode?
>
> Yes, that is allowed. As the Community engine is GPL’ed, you’d have to
On 2 Sep 2015, at 10:03, Richmond wrote:
> Would it be permissible to sell a book with a CD strapped to its back
> containing
> community versions of LiveCode?
Yes, that is allowed. As the Community engine is GPL’ed, you’d have to include
an offer to supply the source code for the engine, but
Would it be permissible to sell a book with a CD strapped to its back
containing
community versions of LiveCode?
Richmond.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subs
59 matches
Mail list logo