Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - set confirm control the confirm flag
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
set confirm Control the confirm flag
------------------------------------------------------------------------------
Syntax
set confirm on|off
Arguments
None.
Description
The set confirm controls the status of the confirm flag. The default
status for the confirm flag is off.
When set confirm is on, the enter key must be pressed to advance to the
next input field when using a read/get.
When set confirm is off, the cursor will automatically advance to the
next input field when using a read/get.
Example
#define EXAMPLE_IO
#include example.hdr
proc Test_setconfirm
vardef
char( 20 ) cName
uint nAge
enddef
cName := "Marietta"
nAge := 21
clear
@ 2, 10 say "Confirm off" get cName
@ 4, 22 get nAge picture "99"
read
set confirm on
@ 6, 10 say "Confirm on " get cName
@ 8, 22 get nAge picture "99"
read
endproc
proc main
Test_setconfirm()
endproc
See Also: getconfirm()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson