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 - __memo_max memo buffer size http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 __memo_max          Memo buffer size
------------------------------------------------------------------------------
 Declaration
   memo.hdr

 Syntax
   uint __memo_max

 Default
   5120 bytes.

 Description
   The __memo_max system variable controls the size of the memo buffers.
   Memo buffers may be sized to a maximum of 32 KBytes. Buffers will be
   allocated to each memo field in all open files. The value of the
   __memo_max variable must not be changed when database files containing
   memo fields are open.

 Example
   #define EXAMPLE_DATABASE
   #include example.hdr

   proc Test_memo_max
   clear
   ? __memo_max
   __memo_max := 4 * __memo_max
   ? __memo_max
   open sTest index sIdxLN
   medit( sTest->notes, 10, 0, 10, 79, .f. ) // edit memo field
   endproc

   proc main
   Test_memo_max()
   endproc

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