Hey Bob,
there's a problem in directoryListingToArray in some cases.
Wen I run it on my home directory, I get an error message
...: execution error at line 119 (repeat: error in statement), char 1
The 'repeat' error is misleading - that's just the line following the
'do tCommand'.
It's
The fontnames() function returns certain special font names like:
(Default)
(Styled Text)
(Menu)
(Text)
(Message)
(Tooltip)
(System)
How do I find out what fonts these really are on a given platform. The
effective textFont does not seem to work.
For example the following code on Windows 10,
Here is some unhelpful information from the dictionary:
The list of font names includes a set of special-purpose names which
automatically select the matching font for the platform. You can use these to
request "the font used for buttons" without having to hard-code
platform-specific font
Exactly, but this does not answer my question, which is:
if I set the textFont of an object , say a button to "(Menu)" and the
look at the effective textFont of that same object, I get "(Menu"), so
how do I find out what the actual font really is?
For example, the default field font on
Sannyasin Brahmanathaswami wrote:
"Can you save"
To which you supplied a lengthy answer, thank you.
I have a real use case:
I looked at all the collaborative "white boards" on the market. There are 10
that only have free version that allows a limit number of people participating. All too
J. Landman Gay wrote:
On 2/3/20 2:19 PM, hh via use-livecode wrote:
Parse1 is here always at least 30% faster than Parse2.
I'm seeing the same thing, only more so. I searched for "the" in a 424K
text file:
parse1 = 11 ms
parse2 = 111 ms
Hmmm It may be that Mark Waddingham was wrong
Good points. I'll make some changes and resubmit. It never dawned on me that
someone would intentionally send an empty path, but it *might* happen
accidentally. Also, a path like /Users/BobSneidar being repeated would be very
edge case, and as an IT guy I would probably take the computer away
Hi Bob.
I have a couple of other suggestions (driven by my paranoia :-)
1. There is a problem with passing empty for 'whatfolder'
Currently, if you pass in an empty folder, it returns very misleading
results - the files in the current directory when the function is
called, plus the folders
On 2/4/20 12:43 PM, Richard Gaskin via use-livecode wrote:
J. Landman Gay wrote:
On 2/3/20 2:19 PM, hh via use-livecode wrote:
Parse1 is here always at least 30% faster than Parse2.
I'm seeing the same thing, only more so. I searched for "the" in a 424K text
file:
parse1 = 11 ms
parse2 =
Heresy! Burn the cretan!!! ;-)
Bob S
> On Feb 4, 2020, at 10:43 , Richard Gaskin via use-livecode
> wrote:
>
> Hmmm It may be that Mark Waddingham was wrong in the guidance he gave
> earlier about Unicode vs memcopy, but I wonder if there may be something else
> here.
Hello list,
I have a request from a client for a mobile app that would display pdf
files.
I know I can use a browser object to display those files, I've done that
numerous times.
My question is more about caching the files, and displaying them again
later without having to download them each
Ralph DiMola wrote:
> My initial timings was with an earlier v9 version. I will do some
> timings on 9.5.1. In the meanwhile I wonder if doing a "delete char
> 1 to n of myVar" is more expensive then "put char n to -1 of myVar
> into myVar" as I do.
I had thought the exercise was to obtain a
Android will not natively display a pdf in the browser. The PDF Widget is
supported on all platforms. You can watch for a pdf in the browser and
download and cache it to the device then display it in the PDF Widget.
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
My initial timings was with an earlier v9 version. I will do some timings on
9.5.1. In the meanwhile I wonder if doing a "delete char 1 to n of myVar" is
more expensive then "put char n to -1 of myVar into myVar" as I do.
Ralph DiMola
IT Director
Evergreen Information Services
The recent testing of the Parse1 and Parse2 algorithms I think must have been
on ascii not utf-8 text
I tested on the English translation of Les Miserables, to ensure at least a
sprinkling of multi-bite characters in the text, and a longish file: 3.4 MB. I
tested for the search string
On 2/4/20 6:00 PM, Roger Guay via use-livecode wrote:
Just curious, Mark… I loved Hypercard as well, but do you mean to say you would
choose Hypercard over Livecode today?
Heh. Not my quote... that's from Rand Miller's talk.
--
Mark Wieder
ahsoftw...@gmail.com
Would have been neat if it took 24601 milliseconds.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
Super thorough work there, Neville. Thanks.
Could I trouble you to post code listings for the various algos?
I'd like to try them on my MBOX archives, and they may also be useful
for others looking for parsing routines in the archives.
--
Richard Gaskin
Fourth World Systems
Neville
Just curious, Mark… I loved Hypercard as well, but do you mean to say you would
choose Hypercard over Livecode today?
Roger
> On Feb 4, 2020, at 5:41 PM, Mark Wieder via use-livecode
> wrote:
>
>
> https://boingboing.net/2020/02/02/myst-co-creator-rand-mill.html
>
> "...to this day I would
Ah yes, of course. I see that now.
> On Feb 4, 2020, at 7:07 PM, Mark Wieder via use-livecode
> wrote:
>
> On 2/4/20 6:00 PM, Roger Guay via use-livecode wrote:
>> Just curious, Mark… I loved Hypercard as well, but do you mean to say you
>> would choose Hypercard over Livecode today?
>
>
In 1993 Mac User magazine had a review of the top 50 CD-ROMs, and of those
there was an overall winner. The A Hard Day’s Night CD-ROM I made in HyperCard
was the overall winner. I was lucky that it was before Myst was released. It
would have easily won!
Just for interest, and to see just how slow lineOffset is, I added a couple of
more tests to the search for occurrences of “Valjean” in the Gutenberg English
translation of Les Miserables. I also wanted find how filter performs.
The searches were first applied to the raw binary text as read
On 2/4/20 6:43 PM, Colin Holgate via use-livecode wrote:
Would have been neat if it took 24601 milliseconds.
Chortle
--
Mark Wieder
ahsoftw...@gmail.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to
On 2/4/20 6:19 PM, Colin Holgate via use-livecode wrote:
In 1993 Mac User magazine
...them was the days, eh?
--
Mark Wieder
ahsoftw...@gmail.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe,
On 04/02/2020 17:20, Bob Sneidar via use-livecode wrote:
Good points. I'll make some changes and resubmit. It never dawned on me that
someone would intentionally send an empty path, but it *might* happen
accidentally. Also, a path like /Users/BobSneidar being repeated would be very
edge
https://boingboing.net/2020/02/02/myst-co-creator-rand-mill.html
"...to this day I would be doing projects in Hypercard if it were still
available..."
...think someone should give Rand Miller a hint?
--
Mark Wieder
ahsoftw...@gmail.com
___
On 04/02/2020 22:12, Richard Gaskin via use-livecode wrote:
The code I was using was similar to Alex' itemDel solution, but
playing with all three together shows itemDel only slightly faster
than delete, and both much faster than traversing in-place with "start
at".
You know I'm always
27 matches
Mail list logo