PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Multitask (External language)
In French: Multitâche
Allows the programs currently run to process the Windows messages or runs a temporization.
Example
// In C
// Wait during 10 seconds
CALLWD("Multitask,1000");
// In Pascal
(* Wait during 10 seconds *)
CALLWD('Multitask,1000');
// In VB
' Wait during 10 seconds
call CALLWD("Multitask,1000")
Syntax
Multitask([<Duration>])
<Duration>: Optional character string
Duration of the time-out expressed in hundredths of a second.
Remarks
Multitask can be used in 3 contexts:
  • in a loop, to give 'control' back to the other programs,
  • in a loop, to display information,
  • in a loop, when using a timer.
Caution: Multitask deletes the mouse and keyboard events from the program window, without processing them..
Minimum required version
  • Version 14
Comments
Click [Add] to post a comment