On Sun, 21 Oct 2018, Mr Bee via Pas2js wrote: > Hi, > Sorry if it sounds silly, but I couldn't find sleep function in sysutils unit. Is there a way to do non-destructive sleep or delay in pas2js? No, there isn't. The things that comes closest is the setTimeout function; window.setTimeout(function, milliseconds); Michael.