Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Protection Plus for Clipper - <u>pp_savepp()</u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PP_SAVEPP()
Save changed control file data
------------------------------------------------------------------------------

Syntax
  PP_SAVEPP()  .  lResult

Returns
  .T. always

Description
  This function is used if you would like to give the user the
  ability to change the string data stored in the configuration file
  upon request.  It is necessary to first call the pp_getvar()
  function to create the PUBLIC variables.  The variables can then
  be changed.  Call this function after the variables are changed
  to store them into the control file. Note the importance of the
  data type.

Example

*Assuming that PP_GETVAR() has already been run:

@ 10,10 say "Enter new company: " get propl1
@ 11,10 say "   Enter new name: " get propl2
@ 12,10 say "Enter new address: " get propl3
@ 13,10 say "   Enter new city: " get propl4
@ 14,10 say "  Enter new state: " get propl5
@ 15,10 say "    Enter new ZIP: " get propl6
read
pp_savepp()

See Also: PP_CRPPP() PP_CHKPP()

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