anyKode Marilou
ContentsIndexHome
Example
//do not write:
do
  {
  //your program
  // ...
  //wait 100ms
  while(pConnection->GetTime()<lasttime+100) ; //Network overflow and high CPU charge
  } while(1)

//prefer

do
  {
  //your program
  // ...
  //wait 100ms
  pConnection->Wait(100); //only one network call, no cpu charge
  } while(1)
Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.