Share this page

# Example: TE_perror

In the following example, TE_perror reports a TE_errno to the output window if a TE_wait_text or TE_wait_cursor function fails.

    TE_wait_text("C-Kermit>",TIMEOUT, 1, 24, 10, 24, NULL, NULL, NULL);

    if (TE_errno) {TE_perror("TE_wait_text"); return -1}

    TE_wait_cursor(10, 24, 1, TIMEOUT);

    if (TE_errno) {TE_perror("TE_wait_cursor"); return -1}

    TE_type("statistics<kReturn>");

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: