Data update

This commit is contained in:
Ingy döt Net 2025-08-11 18:05:26 -07:00
parent 4d5544505c
commit 4924dd0264
3073 changed files with 55820 additions and 4408 deletions

View file

@ -0,0 +1,4 @@
(let amount (toNumber (input "ms to sleep for> ")))
(print "Sleeping...")
(sys:sleep amount)
(print "Awake!")

View file

@ -0,0 +1,14 @@
include "NSlog.incl"
local fn Sleep
printf @"\nReady to sleep...\n"
CFStringRef secondsToSleep = input %(100,100), @"Enter seconds to sleep: ", @"0123456789", YES, 3, _formatUnsignedFloat
fn ThreadSleepForTimeInterval( fn StringFloatValue( secondsToSleep ) )
printf @"Waking from %@ seconds of sleep...", secondsToSleep
end fn
window 1
fn Sleep
HandleEvents

View file

@ -0,0 +1,5 @@
io.write("Enter the amout of time to sleep in milliseconds: ")
local ms = io.read("n")
print("Sleeping...")
os.sleep(ms) -- pause this thread for 'ms' milliseconds.
print("Awake!")