CHUI is a Character User Interface. GUI is Graphical User Interface. GUI applications you build using the AppBuilder to make windows and dialogs that display in a Windows environment. For CHUI, it's just text sreens basically.
Here's one I wrote earlier - it takes a delay time in milliseconds:
Code:
FUNCTION Delay RETURNS LOGICAL
( ipDelayTime AS INTEGER ) :
/*------------------------------------------------------------------------------
Purpose:
Notes:
------------------------------------------------------------------------------*/
ETIME(TRUE).
DO WHILE ETIME LE ipDelayTime:
END.
RETURN TRUE. /* Function return value. */
END FUNCTION.
So you can do something like:
Code:
ttPossibleMoves.WidgetHandle:HIDDEN = delay(200).