home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
FOXPRO
/
FCT1_12
/
FC_STACK.HDR
< prev
next >
Wrap
Text File
|
1991-01-11
|
1KB
|
78 lines
#output Force Tools 1.1 - Stack functions
*
* initialize a local stack to push var's on
*
function logical init_stack prototype
params value int stack_size
*
* clear memory allocated to the local stack
*
procedure clear_stack prototype
*
* push any variable on the stack
*
procedure push prototype
params untyped var_name, value int var_len
*
* pop any variabele from the stack
*
procedure pop prototype
params untyped var_name
*
* test on an empty stack
*
function logical empty_stack prototype
*
* You can use next functions to push a variabele on the stack without
* knowing it's length, use the normal pop procedure to restore a variabele.
*
*
* push a string on the stack
*
procedure push_str prototype
params const char string_to_push
*
* push a byte on the stack
*
procedure push_byte prototype
params byte byte_to_push
*
* push an integer on the stack
*
procedure push_int prototype
params untyped integer_to_push
*
* push a long on the stack
*
procedure push_long prototype
params untyped long_to_push
*
* push a real on the stack
*
procedure push_dbl prototype
params dbl dbl_to_push
*
* push a date on the stack
*
procedure push_date prototype
params date date_to_push
*
* push a logical on the stack
*
procedure push_logical prototype
params logical logical_to_push
* eof - fc_stack.hdr