Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Foxlib v1.0 - <b>usage example 1</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Usage Example 1

I will use the CURSOR and NODRIVES FOXLIB commands for examples.  Let's say
you want to change the size of the cursor from a line to a block.  To
implement this you would perform the following commands from the dot prompt
or FoxPro command window:

. load c:\FOXLIB\cursor
. FOXLIB = "B"
. call cursor with FOXLIB
. release module cursor

the cursor size will now be a # (block).  Let's examine each dot prompt
command in detail.

(1) We loaded the command CURSOR.bin into memory.  Notice you do not use the
extension (.bin) of the file you are loading.

(2) We created a parameter, B for block, that we will be sending to the
CURSOR command.  ONLY SEND THE PARAMETER SPECIFIED IN EACH FOXLIB COMMAND,
I.E. DO NOT SEND A PARAMETER OTHER THAN WHAT IS ASKED OF YOU FOR EACH FOXLIB
COMMAND.

(3) We called the CURSOR command with the passed parameter "B" (You can pass
character parameters to FOXLIB in either lower or upper case).

(4) We released the command cursor.bin from memory.  AFTER YOU LOAD AND CALL
THE COMMAND YOU WANT TO USE, ALWAYS RELEASE IT FROM MEMORY.

Please refer to your FOX manual for questions using the CALL, LOAD, and
RELEASE MODULE commands.

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