Home Notices Documents Classes Download Others Rice
Classes  >  sleep  >  Wait()
sleep class : Wait() method

This method was abolished in Ver 1.0.0.2.

Description

Waits during the specified time without freeze.

Syntax

sleepInstance.Wait()

Arguments

None.

Return value

None.

Sample code

1:

sleep sp = new sleep(10,10); // 10 times, 10 milliseconds

2:

sp.Wait(); // Waits 100 milliseconds.

Notes

The Times getter * the Span getter is the wait time(millisecond).

The following steps will be repeated the specified times (the Times getter).

Step1 : Freezes the specified span (the Span getter).

Step2 : Processes the events after the freeze.

This method was abolished in Ver 1.0.0.2.

Links for reference

Copyright © Rice All rights reserved.