LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!
on openStack
backSave
end openStack
on backSave
save this stack as ("/Volumes/X1/DWP autosaves/SAVER" && the time && ".livecode")
send "backSave" to me in 120
end backSave
Why one should have to add the suffix I am not sure.
richmond62 wrote: Sat Jan 12, 2019 9:26 pm
The initial script works NOW because I had OVERLOOKED
that you had called the folder "DWP autosaves" rather than "DWP autosave".
richmond62 wrote: Sat Jan 12, 2019 9:26 pmWhy one should have to add the suffix I am not sure.
You don't need a suffix actually, a valid stackfile is a valid stackfile, suffix or no suffix. So LC gives you the choice to leave the suffix out or add it (manually), isn't that a nice touch?
Lagi Pittas wrote: Sun Jan 13, 2019 2:45 pm
I agree with Jacque about the interval but it is 120 milliseconds not 2 seconds -- whole lot of thrashing goin' on .....
If you omit the unit, LC presumes TICKS, so 120 in the script are in fact 2 seconds.
But even this interval does not leave much time for changes anyway.
I ALWAYS assumed right at the start of my Livecode journey that it defaulted to milliseconds so I always put secconds or milliseconds on the end - so I never noticed.
How could I doubt Jacques' recollection of the Livecode basics......
I really thought that it was the invention of Commodore (CBM) for their PET computer but years later I found out from Wikipedia that Jiffies where a time measurement invented in the 1800s - and they are also used in the Linux kernal
The earliest technical usage for jiffy was defined by Gilbert Newton Lewis (1875–1946). He proposed a unit of time called the "jiffy" which was equal to the time it takes light to travel one centimeter in a vacuum (approximately 33.3564 picosec
But for our discussion
Early microcomputer systems such as the Commodore 64 and many game consoles (which use televisions as a display device) commonly synchronize the system interrupt timer with the vertical frequency of the local television standard, either 59.94 Hz with NTSC systems, or 50.0 Hz with most PAL systems. Jiffy values for various Linux versions and platforms have typically varied between about 1 ms and 10 ms, with 10 ms reported as an increasingly common standard in the Jargon File.[6]
Not many people know that
t - with apologies to Peter Sellers (and yes it wasn't Michael Caine - Not many people know that either .... )