wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Time/SleepSeconds

Version 2 (modified by Don Wilson, 14 years ago) ( diff )

--

SleepSeconds

Pause a specified number of seconds

void SleepSeconds(int nSeconds);

void SleepSeconds(float fSeconds);

Parameters

  • nSeconds - number of seconds to pause
  • fSeconds - number of seconds to pause allowing for fraction such as 1.5

Return Value

Function does not return a value

Remarks

This completes pauses the application for the specified number of seconds.

Examples

DisplayText(0, 0, "Starting...");
SleepSeconds(5);
DisplayText(0, 20, "Ready");
DisplayText(0, 0, "Starting...");
SleepSeconds(2.5);
DisplayText(0, 20, "Ready");

See Also

Note: See TracWiki for help on using the wiki.