Author Topic: Equivalent for PB SLEEP statement  (Read 36 times)

0 Members and 1 Guest are viewing this topic.

chrisc

  • Sr. Member
  • ****
  • Posts: 257
  • beginner programmer
Equivalent for PB SLEEP statement
« on: April 14, 2018, 02:39:54 PM »
Hello

what is the equivalent to PB   SLEEP statement  in O2?

for example,  SLEEP( 5000)   means  pause for 5 seconds

something like a delay loop, see   

http://www.manmrk.net/tutorials/basic/PowerBASIC/pbcc/sleep_statement.htm

Mike Lobanovsky

  • Admin Support Member
  • *****
  • Posts: 1770
Re: Equivalent for PB SLEEP statement
« Reply #1 on: April 14, 2018, 04:47:01 PM »
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, 2 x nVidia GTX 650Ti w/ 2GB VRAM, Windows 7 Ultimate Sp1)

chrisc

  • Sr. Member
  • ****
  • Posts: 257
  • beginner programmer
Re: Equivalent for PB SLEEP statement
« Reply #2 on: April 14, 2018, 04:58:07 PM »
Thanxx a lot, Mike   it is a WIN API