Home Notices Documents Classes Download Others Rice
Classes  >  sleep  >  sleep(int,int)
sleep class : sleep(int,int) fitter

This fitter was abolished in Ver 1.0.0.2.

Description

Gets a new instance of the sleep type which is initialized with the specified times and span.

Syntax

new sleep(int times, int span)

Arguments

ClassNameDescription
inttimesNumber of times.
intspanTime span.

Return value

None.

Sample code

1:

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

Notes

The times argument * the span argument is the waits time(millisecond).

The span argument is specified with millisecond.

This fitter was abolished in Ver 1.0.0.2.

Links for reference

Copyright © Rice All rights reserved.