This section summarizes information for developing LUA applications on a Microsoft® MS-DOS® system. Only RUI is supported on MS-DOS; SLI is not supported on MS-DOS.
/*Set lua_post_handle to non-zero value  */
rui_innit.common.lua_post_handle = 1l ;
/*Issue RUI verb  */
RUI  (&rui_init)  ;
/*Check to see if verb will complete asynchronously  */
if (rui_init.common.lua_flag2.async)
{
/*Verb will complete asynchronously  */
 To wait for the verb to complete, loop until lua_post_handle is cleared. For example:
while (rui_init.common.lua_post_handle  != 0)
{
/* The application is free to do other work in this loop  */
}
/* The loop has exited, so the verb completed  */
 Keep in mind the following guidelines: