Silverfrost Logo About Us | Contact Us
 

Interactive I/O

Reading numbers or character strings from a window under ClearWin+ is very similar to reading data in a traditional program using READ. However, it is important to remember that each variable must be given an initial value before the window is created since a default value will appear as soon as the window is displayed.

Tip

Checkmate can be used to flag an error when a variable that has not been given a value is used.


Those controls that allow the user to edit text in a box (such as %rd) can also transfer text to/from the clipboard using the special ClearWin+ call-back functions 'CUT', 'COPY', 'PASTE', defined in the standard call-back functions described in Standard call-back functions.

More:

Integer input

Floating point input

Character string input

Control option format

Integer increase/decrease format

Floating point increase/decrease format

Floating point limit format

Integer limit format

Parameter box format

Slider format

 

 

Copyright © 1999-2017 Silverfrost Limited