Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - setinsertkey() set insert mode http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 setinsertkey()      Set insert mode
------------------------------------------------------------------------------
 Declaration
   io.hdr

 Syntax
   proc setinsertkey extern
   param value logical lInsert

 Arguments
   lInsert is the insert mode setting.

 Return
   None.

 Description
   This procedure activates/deactivates the insert mode. If lInsert is .t.,
   the insert mode will be activated.

 Example
   #define EXAMPLE_IO
   #include example.hdr

   proc TestKey static
   wait "Insert mode is " + iifc( insertkey(), " on", "off" ) + ". Press a key."
   endproc
   
   proc Test_setinsertkey
   TestKey()
   setinsertkey( .t. )
   TestKey()
   setinsertkey( .f. )
   TestKey()
   endproc

   proc main
   Test_setinsertkey()
   endproc

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson