#COMPILE EXE "s90_get_tick.exe"
#INCLUDE ONCE "windows_core.pbi"
' Sample: GetTickCount - simple WinAPI timing
FUNCTION PBMAIN() AS LONG
    DIM start AS QUAD, elapsed AS QUAD
    start = GetTickCount()
    SLEEP 500
    elapsed = GetTickCount() - start
    PRINT "GetTickCount elapsed: ~"; elapsed; "ms"
    FUNCTION = 0
END FUNCTION
