The GUI API

Convenience I/O methods (notifications and user input)

notify msg                  # print msg 
                            #   in a dialog
s = get_string("Value =")   # show prompt, 
                            #   get string
flag = yes_no("Tired yet?") # yes/no reply
splash "Good night...",5    # display msg
                            #   for 5 secs
   
<< >>



Comments. Since FreeRIDE is a GUI, all interaction with the user must be done in GUI fashion (unless someone implements voice recognition or something).

There are many situations in which a script might need to prompt the user for a string or display a warning or error. These convenience methods exist so as to make programming as easy as when you programmed in BASIC at age twelve.

Since there are so few of them, the methods are simply mixed in directly from a module.

Thanks once again to Lyle for his debugging assistance here.