> Bill V. wrote:
> I know how to do the math to figure it out but I’m wondering if there
> is a built in function to do this. Convert wants to deal with actual time
> so I would get something like “0:1:15 PM”.
That needs the same energy as the simple math method but as you ask:
1. set the twelve
Perhaps the dateItems format would get you part of the way there.
It seems like I have reinvented this in the past several times.
> On Oct 16, 2019, at 6:41 PM, Terry Judd via use-livecode
> wrote:
>
> Not built-in but...
>
> function formatRemainingTime pTime
> put trunc(pTime/3600) into
Not built-in but...
function formatRemainingTime pTime
put trunc(pTime/3600) into tHours
put pTime mod 3600 into tTimeX
put trunc(tTimeX/60) into tMins
put tTimeX mod 60 into tSecs
if tHours < 10 then put "0" before tHours
if tMins < 10 then put "0" before tMins
if tSecs < 10
I’m writing a countdown timer application and want to display the remaining
time not as the number of seconds but in the format of HR:MIN:SEC left.
For example 75 seconds would display as “0:1:15”.
130 seconds would display as “0:2:10”.
I know how to do the math to figure it out but I’m wonderin
I started getting this warning in Chrome yesterday. It pops up when I start
an LC Server session. I don't see a way to set this attribute when creating
the session. I also don't see a way to set the attribute when creating a
cookie with "put cookie". Does this require a change to LC Server or am I
This is how I fit text into fields and buttons. This the first LC code I wrote
back in LC 4.6. I did not follow best practices back then. After looking at it
again I see that I optimized it so you don't have to set the textsize to some
huge number.
https://tinyurl.com/y2jtt877
Ralph DiMola
IT
No, I haven't tried QUEMU.
However, I downloaded a new xCode and, when I ran it the first time, my little
board started working and showed up as a virtual serial port and as a disk
drive.
The good news is that it works. Perhaps xCode swapped out something, maybe
drivers.
The bad news is that
@Dar.
Did you already try to use QUEMU?
https://www.qemu.org
___
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
I'm not sure how this addresses my concern. Uh, rant. Lament.
If this is an OS problem, then a Hackintosh system would not solve it.
If this is a driver problem, then perhaps Clover will work, but maybe not.
(When I build a machine, I would use Windows or Linux, so—for me—Hackintosh is
not a sol
Morganaut has the best tutorials out there for a modern MacOS build.
https://www.youtube.com/channel/UCg5TS2EmMutPd7Y1zqfQ3iA
~Roger
From: use-livecode on behalf of Bob
Sneidar via use-livecode
Sent: Tuesday, October 15, 2019 10:45 AM
To: How to use LiveC
10 matches
Mail list logo