> Richard G. wrote:
> ... beyond the performance gains by moving "low level binary data
> processing" to javaScript (would be nice if someone has time to
> post some apples-to-apples comparisons) ...
"Low level binary data processing" means for me for example to invert
the color data of an image
LC is a perfect tool, for me also plays the role of a GUI when seeking for
speed. Javascript/HTML5 does a lot of low level binary data processing up to
100 times faster than LC Script (and no js-package needed for that).
To use javascript/HTML5 is not "bypassing" the LC language" but *extending*
t
Bob S. wrote:
"if the hidden of line tStartLine to tEndLine of me is
then set the hidden of line tStartLine to tEndLine of me to "
Yes, but depends on the scenario: Sometimes I find it more safe to walk
through the range (for j=tStartLine to tEndLine) and check the hidden
of each single line, bec
Eventually you are showing/hiding lines, so:
Did you already try to use the hidden property?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://li
> Mark wrote:
> >> Monte wrote:
> >> I have seen it before in user scripts but never used it myself.
> >> It’s one of those things you discover (like when {} could be used
> >> interchangeably with []) that you quickly realise you should never
> >>
> Monte wrote:
> I have seen it before in user scripts but never used it myself.
> It’s one of those things you discover (like when {} could be used
> interchangeably with []) that you quickly realise you should never
> rely on so you forget pretty quickly ;-)
You are member of the LC-team and you
Here's to all who didn't ignore the wonderful LC lessons for years!
on mouseUp
I
end mouseUp
on I don't care
answer I'm ("fan of it.")
end I
function I'm fan
return "Beautiful LiveCode! I'm " & fan
end I'm
___
use-livecode mailing list
use-liv
> k wrote:
> I'd like to be able to integrate LC's HTML5 output with regular web page
> structures a little more flexibly. That's been one of the big things
> that's really put me off trying out much with this form of output, so
> far at least.
You can do that since November 2016 (LC 9.0.0-dp2)
major version to its next major version.
hh
> > hh wrote:
> > if the webpage starts with "hyperhh.de" then the images have to be
> > called explicitly from hyperhh.de while download from "hyperhh.org"
> > (which is simply another name for the same d
A basic test of the new feature "fetchURL" of the LC 9.0.0-dp7
HTML5 standalone builder: Load files (here images) from a server.
The load origin has to be on the same domain as the webpage that
loads the standalone.
(EU) http://hyperhh.de/html5/testFetch-9.0.0-dp-7X.html
(US) http://hh.on-rev.com/
So much new things to try, and a lot of bugs removed.
Thanks to the team for that.
I guess the dps are now numbered after the month of release,
so will we have with every other LC Global day a new one? ;-))
___
use-livecode mailing list
use-livecode@lis
Yet another creative contribution to this thread: SVGtoPNG_HTML5
This is a HTML5 standalone that is based on stacks that Jonathan and I made,
see livecodeshare.runrev.com or 'Sample stacks' (the stacks use a clever
conversion idea of Jonathan).
Launch SVGtoPNG_HTML5 from here:
(EU) http://hyperh
AFAIK, the file is downloaded, I don't know the place (probably
somewhere in /tmp). There is no downloadHandler as in revBrowser.
But if one has access to the page then the followong works here:
Use a javascriptHandler to get the file url and do the download
via LC's get url(). For example:
on m
> JLG wrote:
> ... "t" for handler-local variables, "g" for globals,
> "s" for script-locals, and "k" for constants ...
> If you adopt a system like this, you'll never have a
> naming conflict.
> Mark W. wrote:
> tExt is all I'll say ;) (thanks to Ken Ray for that one)
The LC Builder StyleGuide r
Mac LC 6.5-standalones run the same optimized code (with
large imageData) on 32bit-architecture/slower CPU still 3-5 times faster
than the 64bit-LC 8.1.4 standalones variant on 64bit-architecture.
> On 2017-06-07 22:14, hh via use-livecode wrote:
> > 64bit mode usually makes apps slower. So what&
64bit mode usually makes apps slower. So what's Apple's intention?
To make their own apps "relatively faster" by making all others slower?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and man
Yet another creative contribution to this thread (beta version,
nowhere else linked for a few days).
http://hyperhh.org/html5/video-funHTML5-9.0.0-dp-4hhX.html
Video-Fun is a HTML5 standalone that communicates with the webpage
to take frames from a video and display them as image.
As we have an i
Forget it. I'm wrong, it's too late. Sorry.
> hh wrote:
> [a] all lines starting on page 2 OR ending on page 2 OR containing page 2
> ie
> (pPage >= starting page) OR (pPage <= ending page)
>
> [b] all lines starting on page 2 AND ending on page 2
> ie
Your "ie" is not true. So what do you want?
[a] all lines starting on page 2 OR ending on page 2 OR containing page 2
ie
(pPage >= starting page) OR (pPage <= ending page)
[b] all lines starting on page 2 AND ending on page 2
ie
(pPage >= starting page) AND (pPage <= ending page)
> Paul D. wrot
Simply a creative contribution to this thread:
Here are direct links. Worth waiting for loading, it's faster than you
expect. (Also loading times has been essentially improved with my tests).
[EU] http://hyperhh.org/html5/LCImageToolboxHTML5-9.0.0-dp-4hhX.html
[US] http://hh.on-rev.com/html5/LCIm
We really should start to split this thread into branches, for example
[A] HTML5 deployment and "do as javascript" as already implemented
[B] HTML5 deployment and using widgets (not the browser widget)
[C] HTML5 in LC Builder (and the browser widget, javascript via FFI)
[D] LC Builder: Communicati
@Mark Waddingham:
I was partially wrong.
There is already more possible than I thought with HTML5 deployment when
using "do as javascript". One can work around missing javascriptHandlers
because there is "the result" available for evaluating in LC Script.
I tried again and found a bug in the HTML5
Remove the parantheses.
LC tries to handle them as containers.
For example (btn "B2" of group "BUTTS") is a container,
e.g. the content of a menu button or any other string you
put into btn "B2" of group "BUTTS". This works:
put the backGroundColor of btn "B2" of group "BUTTS"
> Richmond wrote:
> Mark W. wrote:
> I've pondered 'invoke' as a new keyword - but I'm not sure how much I
> like that, but it would 'fill the gap'.
For 'foreign speakers' a synonym like "useHandler" may be easy to remember.
Would fit into LC Script:
-- start using
useHandler "drawImage" of with parameter
--
"Synchronous" means here that the callback is done in the order it appears in
the list of js instructions, i.e. "synchronous to the instruction order".
If you say in your js function
instruction1;
callback1;
instruction2;
callback2;
then you can't control what's done first. This is t
Call, send , dispatch, do script ...
It is very impressive how the core team can still have all that
messaging in mind while developing LC Builder.
Now why not use kind of a mnemonic naming in LCB e.g.
sendHandler
callHandler
dispatchHandler
doHandler ?
We could still have
> > hh wrote:
> > Part [1], the current thread, will hopefully allow for example to have
> > the "sample
> > stacks" imageToolKit or the recent SVGplay-stacks in a HTML5
> > standalone. The speed
> > results will be very interesting.
>
> Mark W
Sadly this is only valid if the js jobs you do are non-threaded and
do not use workers, rather than being a matter of logic.
But the speed gain by using javascript in the browser is often only
due to multi-threading.
We don't have always control about all parts of a js library. We can't
"split" t
The browser widget is essentially kind of a GUI to libbrowser, cleverly made.
@Dan
Using all these js libraries is already possible (where the inherent HTML5 of
the widget allows that -- different by platform), just do it.
Examples of going that way are among the most recent 10 of "Sample stacks".
>> hh:
>> As you said earlier:
>> "... some things make more semantic sense with Alt rather than Shift".
>>
>> Alt happens.
> RG:
> ... but not in a vacuum.
"Alt happens" is the alt-variant of "Shift happens" (Forrest Gump).
>
You could try to rethink why that key is named "optionKey" or "altKey".
Using the altkey with another key on the keyboard is not the same
as using it with the mouse. Easy to understand. It's a simple option.
As you said earlier:
"... some things make more semantic sense with Alt rather than Shift
>> hh wrote:
>> Nearly all linux users (incl. Raspi users) are smarter than you believe.
> RG wrote:
> Personally, I think great app design is more a function of discovering
> what's intuitive than testing cognitive boundaries.
Sorry, I forgot to say that you are an ex
Richard,
now that you essentially said over and over again
"it also means not being able to rely on Alt-click in our UIs":
I say, still valid and also worth to repeat, there is a difference in
"alt-clicking" between alt-mouseDown and alt-mouseUp on linux:
[1]
*** alt-mouseDown does NOT come thr
[I take the liberty to move this to a new thread in order to have a more
appropriate subject]
> Richard Gaskin wrote (in thread 'nice Sierra feature'):
>>> Mark Wieder wrote:
>>> On linux you can alt-click to grab and move a window.
>
> ... which is both great and horrible.
> It's handy, of co
When I read the data is
> put into it so I was putting empty into it after the
> read to make sure it was clear.
> I tried not putting empty into it and used,
> repeat until it = empty
> but apparently it never became empty.
>
> > hh wrote:
> >> JB wrote:
> >&
> JB wrote:
> ... I want to read in sections from the EOF and
> stop at the beginning of the file instead reading
> from the start to EOF.
>
> I have no problems opening, reading and
> closing files or reading in sections.
>
> Does anyone know the easiest way to determine
> when I reach the start o
> Richmond M. wrote
> ... become even more the court jester than I ever intended to be ...
Court jesters were, from my point of view, always very influent and honoured
people.
A nobody was ever able to make a fool out of them.
But I'm sorry about having written my 'donation' in public and not as
It is exactly as funny as I said, no confusion:
If you purchased the ticket before the first discount, didn't buy a T-shirt for
100%, and took the survey after that all, you get no discount.
But you get an extra email that you get a free T-shirt if you sign up (now) for
the conference. What a lo
> Mike K. wrote:
> Or, you can email support and magically get the discount applied,
> retroactively.
That's even a bit more funny.
Email support after each new discount to get the discount applied,
retroactively? Why not the future discounts?
;-)
___
The T-shirt pricing policy connected to LC Global:
One has to pay 100% if one purchases LC Global nearly 'at once',
one has to pay 50% if one purchases LC Global a few days later,
one has to pay 0% if one answers the survey and buys LCG after that.
The next steps are probably
one has to pay -5
> Alejandro T. wrote:
> Reading LiveCode Dictionary about the target and send,
> could not find an obvious way to get the name of a message
> sender without putting first this name in another container
> (a custom property, a field or a global variable).
Yet another option could be to use more par
Switch in LCB -- Monte asked to have the opportunity to do the job:
http://forums.livecode.com/viewtopic.php?p=131509#p131509
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subs
Added LC-Magick #9:
SelectiveGray ("Pleasantville-/SinCity-effect") [hh]
http://forums.livecode.com/viewtopic.php?p=154277#p154277
> LC-Magick #8 - MoonEffect (Ell. Distort./ 'Fisheye') [bn and hh]
> http://forums.livecode.com/viewtopic.php?p=153159#p153159
>
> Richard G. wrote:
> (Apologies for the non-content post; testing a hypothesis reported by a
> list user)
Sorry for answering to the content of an non-content post:
RG derived a "hypothesis" from
http://forums.livecode.com/viewtopic.php?p=154278#p154278
So what did you test? The full device or
Thierry,
out of interest, for a lazy day:
Have you ever thought of a sort function of type
sort by replaceText(each,...) ?
Must have a series of really good applications.
For example if one wishes, not for the container, but for
the sort only, to exchange several chars.
Hermann
___
> Thierry wrote:
> sort lines of T numeric by AaZz_sort( each)
> function AaZz_sort x
>get chartonum( char 1 of x)
>if IT > 96 then return ( IT - 96) * 2 + 1
>else return ( IT - 64) * 2
> end AaZz_sort
Hi Thierry,
don't you need a second sort as 'primary' sort?
sort lines of T numer
> RG wrote:
> Thanks, but you know how bitmaps are. I'd really like crisp print-res
> output if I can.
The browser widget isn't rendering at 300 dpi or more ...
You need something like Adobe Acrobat (which does the HTML2PDF for you)
for getting web pages as true PDF.
And simply printing to PDF doe
> Richard G. wrote:
> Does the browser widget support printing like the older revBrowser
> external did?
No. AFAIK it doesn't support "window.print()", had no success here.
But you can use javascript to get the window's content or part of it
(e.g. container by Id) as a rendered image, not a scree
Correction, sorry.
> I wrote:
> But because lower(a-zA-Z) is _always_ not equal to upper(a-zA-Z) ...
This handles only one case of casesensitivity. Should read:
If the casesensitive is true then
lower(a-zA-Z) is _always_ not equal to upper(a-zA-Z)
If the casesensitive is false then
lower(a-zA-Z
> Richard E.H. wrote:
> ... the possibility of something like
>
> sort lines of theData by word 1 of each & \
> (lower(char 1 of each) <> upper(char 1 of each))
>
> But I don't think I can use multiple each's like that, can I?
Your approach is to use a sort function, a powerful tool.
The mu
> Kaveh B. wrote:
> I have the following lines when a list of words is sorted: Hello
> hello Hello hello hello so there is no hierarchy between upper and
> lower case chars. I want caps to go first. How do i do that pls?
Let me explain a bit more.
You want a sort with co-sort. LC allows this bec
You want a sort with co-sort:
set the casesensitive to true -- secondary sort:
sort myContainer
set the casesensitive to false -- primary sort:
sort myContainer
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscr
[Excerpt from thread 'LC core team', now with a more approriate title.]
> > Mark Waddingham wrote on May 18, 2017:
> > What are the consequences of that [team] change for the HTML5 deployment?
> > There was no progress with that for half a year. Is it now 'stopped'?
>
> No - it never stopped. Adm
>> hh wrote:
>> See for example (in forum/bug-triage):
>> http://forums.livecode.com/viewtopic.php?p=148665#p148665
> Mark W. wrote:
> I have to remind people - please file bug reports! If you don't then the
> chances of these things getting addressed, explained, o
> hh wrote:
>> But I wait for my next examples until there is a stable
>> widget format (we have meanwhile three formats that work on
>> some LC versions only, not on the others).
> Mark Waddingham wrote:
> Unfortunately we aren't going to be guaranteeing binary-l
There is rumour about personal changes in the LC core-team.
Could we please get some reliable info about that?
What are the consequences of that change for the HTML5 deployment?
There was no progress with that for half a year. Is it now 'stopped'?
___
u
Dictionary: open process
There is also a MagickWand C-API
( https://www.imagemagick.org/script/magick-wand.php ).
But who should do that incorporation into the engine?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to
>> Alejandro T. wrote:
>> How fast is LCB working with imagedata?
Slower than slowest LC Script ever seen. I Stopped
all my experiments with imagedata after one full day
(was 12 hours).
For a first own test simply take an image of screensize
and walk through the pixeldata for each byte applying
on
Yes, thanks. [You did probably test on Mac only. It's not worth to mix
in the problem of linux (and Raspi) with blend modes/transparency here.]
Anyway, I updated my stack to a simple Theme-switcher, usable as tiny
plugin and included it to post RaspberryPi stacks #89
( http://forums.livecode.com/
> Mark W. wrote:
> SrcCopy is identical to blendSrcOver - the latter is its alpha-aware
> counterpart. The engine makes no distinction between the two - except
> on groups where it determines if the group should be rendered first
> and then composited (blendSrcOver), or if its children should be
>
> Mark W. wrote:
> > and most of these legacy Blend Modes:
> > clear, noop, notSrcAnd, notSrcAndReverse,
> > notSrcCopy, notSrcOr, notSrcOrReverse,
> > notSrcXor, reverse, set, srcAnd,
> > srcAndReverse, srcCopy, srcOr,
> > srcOrReverse, srcXor, blend, addPin
> > addOver, subPin, transparent
> > ad
I'll bet that a transparent background for the browser widget is
impossible to have. This would require that webkit or Chromium
(or whatever LC uses for the browser widget) allow a transparent
background.
What will be probably possible is setting the blendLevel of the
widget (as a whole), see Mark
> Scott R. wrote:
> Maybe it’s more accurate to say "one single path definition"
> because you aren't limited to a single vector path. You can
> create compound graphics from multiple paths as is done in
> many icons and graphics.
> For example:
> go url "http://tactilemedia.com/download/svg_sample
@Colin
Your letter "R" is not part of the (single) path.
@Richmond
The widget SVG Icon is set up to display at most ONE SINGLE path,
no matter where the path comes from.
The format must according to dict fulfill the SVG specifications
https://www.w3.org/TR/SVG/paths.html#PathData.
Colin's _path_
@Klaus
I tested the svg-to-png conversion using both revBrowser and browser widget on
Mac 10.12.4. This works. It doesn't work on Mac 10.10. (probably also Mac
10.11).
This is caused by webkit which LC uses on Mac.
Where it runs, taking frames from an svg animation or from a video is
"stuttering"
> Jonathan L. wrote:
> However, delaying the command to send for the image does not work
> for the first resizing of the image in this scenario.
It works. I have it running here with the browser widget. I finally
got it using an "onload" for the image and for the window.
...
image1.onload = funct
You could try to leave out the "liveCode.JStoLC" from the html.
Instead send the conversion 'delayed", 1 tick should be enough:
local svgb="SVGBrowser1"
send "processSVG tID" to widget svgb
put "var dd=document.getElementById('canvas1');" & \
"liveCode.JStoLC(dd.toDataURL(),tID)") into js
> JL wrote:
> If it were from that, then we could not switch back and forth
> between resizing different images. It would show the output of
> the previous image processed. But that does not happen.
> I thought I chained the commands linearly, but I will check
> that again.
I didn't say the second
Jonathan,
nice idea and clever work, congratulations.
Two remarks:
(1) Actually the svg-to-png conversion method toDataUrl() yields
at most a 96 dpi image.
So, if you scale the svg once to an image of twice the maximum size
you will need, then set the resizequality of that image to "best"
and s
Hi Jonathan,
if you do it anyway, then you could also add SVG-Filter.
Not too much work, they can easily be chained and work fine
in the browser widget (where the browser widget works ...).
I have it working but have no time for the demostack.
Hermann
___
This is essentially already done by Alejandro with SVGtoPNG,
see the Forum/RichMedia.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.run
Sorry, the link was wrong, here the correct link:
'handling of mouse messages in widgets'
http://forums.livecode.com/viewtopic.php?p=126054#p126054
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscri
Sadly grouping doesn't work with all widgets, e.g. try the
clock widget.
Essentially the widget author has to program the mouseEvents,
at least he/she has to pass them.
For the problems behind mouseEvents and widgets please read
http://forums.livecode.com/posting.php?mode=reply&f=93&t=24369
especi
t; > > -- do whatever with each one myArrayA[tKey].
> > > end repeat
> >
> > hh wrote:
> > Why administrate another object while you have already one?
> > One could rebuild to string from array and sort in one step:
> >
> > put fld "myLi
> Mike B. wrote:
> repeat for each line tKey in myArrayA["sortedWords"]
> -- do whatever with each one myArrayA[tKey].
> end repeat
Why administrate another object while you have already one?
One could rebuild to string from array and sort in one step:
put fld "myListField" into mySortList
Thanks for that, this was very enlightening (should be, once
again, attached to the Dictionary).
If I understand correctly, it explains why testing for speed
has reliable results only on _physical_ mobile devices.
And, while in physical desktop environments a stack/ an app may
run correctly, virt
On Windows latest Firefox, Chrome and Opera. NO IE, NO Edge.
Running with Chrome or Opera requires a (local) server.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
Did you already try the following?
Layer mode:
Use 8.1.4. Before that and in 9-dp6 exact layering is broken.
The combination:
set the acceleratedRendering to false
set the paintcompression to RLE
set the alwaysbuffer of to true
___
use-livecode mailin
Have you already seen this nifty utility?
http://staticmapmaker.com/google/
===
I use the following for getting the geo-location.
on mouseUp
put url ("https://maps.googleapis.com/maps/api/geocode/"; & \
"json?address=25a+Thistle+Street+SW,+Edinburgh,+UK") into rslt
replace quote with e
Not to forget related to (static) maps, especially as you can have
them from there also as SVG or 'true' PDF (not embedded PNG only):
https://www.openstreetmap.org
For exporting as HTML link or as an "image" (JPG, PNG, SVG, PDF)
see https://wiki.openstreetmap.org/wiki/Export
In short:
Don't use
It's the answer file only, not the ask file:
The following workaround is from a bug report, I can't
remember the number and who found it (not me, at any rate).
put "I m the missing prompt" into pp
answer file pp with myPath titled pp
___
use-livecode
In order to follow the current Lego-Hype of LC's advertising you may
create an own 'legofied' version of the thistle that thistles at
Thistle street NW, Edinburgh.
To have a playground for the little version-boys from LC's homepage...
http://forums.livecode.com/viewtopic.php?p=153583#p153583
Yes, see
Dict:API:Browser
or
tinyDict:Dicts:Browser
___
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-livec
> Bob S. wrote:
> Okay THAT has GOT to be a bug!!! Why the hell is numberformat modifying the
> name of the array element?? I haven't done ANY math on it.
"repeat with i=1 to 10" uses i to count from 1 up to 10 step 1: That's a lot
of math you've done to i.
Whereas this doesn't touch the numbers:
> Bob S. wrote:
> Okay THAT has GOT to be a bug!!! Why the hell is numberformat modifying the
> name of the array element?? I haven't done ANY math on it.
"repeat with i=1 to 10" uses i to count from 1 up to 10 step 1: That's a lot
of math you've done to i.
Whereas this doesn't touch the numbers:
There is also brilliant work optimized for LC syntax.
By the one and only LC-master of regex, Thierry:
https://sunny-tdz.com/livecode/sunnyrex
> Bob S. wrote:
> Filter, unlike matchtext, in the form you are using, is not using regex.
> There is a form of
> filter however that does. If you need h
Hi all.
Panos linked to the following bug report (it is more a discussion):
http://quality.livecode.com/show_bug.cgi?id=16848
The final 'workaround' there by Max Vessi solves several issues on linux.
The property inspector, the script editor, the dictionary and the browser widget
work correcly w
Hi Pano,
thank you very much for coming in.
Please correct the typo in the first link.
I got "16848 is not a valid bug number" and don't know
which report you mean.
We all know you do a real good job to collect (and even
remove at once some of) and categorize the bugs in a
very complicated struc
>>> Richard G. wrote (in the 'vertical-text'-thread):
>>> On disk the Linux build of CEF takes up 135 MBs, and like any
>>> browser I would imagine it more than doubles RAM requirements
>>> for an app using it.
>> hh wrote:
>> I wou
> Richard G. wrote:
> On disk the Linux build of CEF takes up 135 MBs, and like any browser I
> would imagine it more than doubles RAM requirements for an app using it.
I would even give a full Gigabyte of RAM if this could make the browser
widget work on linux ...
__
> Jonathan L. wrote:
> This is also easy to do in a browser widget, if you don't mind
> the "always on top" aspect of browser widgets.
Right, but only to a certain degree.
LC Builder has _a lot_ of possibilities different from using the
javascript of a browser widget.
The very basic widget linke
Hi Tiemo,
LC Script gives you only the possibility to have a rotated _image_
of "real" horizontal text.
In LC Builder you have the possibility for rotating "real" horizontal
text itself (use your font and size), not only a snapshot.
Here is an easy example how to do that
http://forums.livecode.c
Richard,
these are hard words.
1) The diff is announced _loudly_ in the dict.
2) setting the paintcompression to RLE can speed up significantly in
most cases. More than 16GB of RAM and huge GPUs are not from the time
when this was introduced (when you was a young boy with curly hair).
They choos
Added today #8: MoonEffect (Elliptical distortion/ Fisheye)
Antialiasing part by 'BNig'(Bernd), Distortion part by 'hh'(Hermann).
http://forums.livecode.com/viewtopic.php?p=153159#p153159
This is our "easter-egg" for the LC Community!
> LC-Magick #7 - Cuboid (3D
You forgot to give examples for Bob's original problem?
The negative numbers ... ;-)
> Paul D. wrote:
>> put format("$%0.2f",tMoney) into msg
>>
>> for tMoney = 5.55, you get $5.55
>> for tMoney = 5.3, you get $5.33
>>
>> want a space between the $, then use
>> put format("$ %0.2f",tMoney)
> Peter R. wrote:
> I have it working fine when I'm in the development environment
> but it's not working reliably in a standalone app.
a) Did you already check to have the same paintcompression in both environments?
b) If you make such large images (why?) you may get a conflict with the
8bit-co
> Panos M. wrote:
> Dear list members,
> We are pleased to announce the release of LiveCode 8.1.4 RC-1.
Bugs fixed (among others):
Lock cursor works again ...
Layering is correct again ...
The formattedRect works now also for 16 bit coords ...
Thank you very much LC-team, especially for that!
_
>>> Bob S. wrote:
>>> You should rather say the number format determines the num of DIGITS.
>> hh wrote:
>> That's what you wish to have (good idea). But it's not like that, its
>> the length of the number as string.
> Bob S. wrote
> Really
> Bob S. worte:
> I have a function for calculating the difference in time
Then you mean -(01:00:00) and not (-01):(00):(00), quite different.
AFAIK most languages do such time evaluations as follows
1) compute the time in seconds,
2) convert its absolute value to time format, and
3) if negative,
TMHO, this could be a feature request rather than a bug report.
The zeros in the number format determine the num of characters
and "-" is one.
Also we have -0 = 0. So what about "-01:-00:-00" ??
> Bob S. wrote:
> "-01:00:00"?
> Yes I expected this. It's not that I cannot work around it,
> it's ju
701 - 800 of 1272 matches
Mail list logo