NAME

wait - pause execution for a specified duration

SYNOPSIS

oadl::wait(ms)

DESCRIPTION

The wait() function pauses the execution of the OADL program for approximately ms milliseconds. This is typically used for simple animations, timing loops, or to yield execution to other system processes.

RETURN VALUE

None

ERRORS

ArgCheck if the number of arguments is not exactly one.
TypeCheck if ms is not a numeric value.

EXAMPLE

    "Starting...\n";
    oadl::wait(1000); // Wait for 1 second
    "Done!\n";

SEE ALSO