Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
14
Task/Sleep/FutureBasic/sleep.basic
Normal file
14
Task/Sleep/FutureBasic/sleep.basic
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue