delay
delay
delay(nSeconds: numero)
Sospende il programma per un tempo di <nSeconds> secondi.
Esempio 1. Esempio delay
-- delay: sleep in milliseconds
local t1 = clock()
delay(50)
local t2 = clock()
print("delay(50): dt=" .. (t2 - t1))
Created with the Personal Edition of HelpNDoc: Ensure High-Quality Documentation with HelpNDoc's Hyperlink and Library Item Reports