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 - set label to initalize a label form http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 set label to        Initalize a label form
------------------------------------------------------------------------------
 Syntax
   set label to [sLabel]

 Arguments
   sLabel is a label structure declared in a labeldef block.

 Description
   The set label to command initializes the label form that is used in the
   label command. A sLabel can be specified as the default for label.

 Example
   #define EXAMPLE_DATABASE
   #include example.hdr

   proc Test_setlabelto
   vardef
      char cAnswer
   enddef
   open sTest
   set label to sLabCust
   wait "Do you want sample?" to cAnswer
   if cAnswer $ "Yy"
      sample               // works with label sLabCust
   endif
   wait
   label                   // works with label sLabCust
   endproc

   proc main
   Test_setlabelto()
   endproc

See Also: label

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