recv_var Function

calc_int.h

int (*recv_var) (char *filename, int mode, @TiVarEntry@ * ve);

Parameters

filename
the file to place the received variable(s)
mode: a set of mask from TicalcMaskMode

ve
a variable entry
Returns
0 if error, an error code otherwise


Summary

Receive one variable.

Description

This function attempts to receive one variable at a time from the calculator and place them into a single file (single/group) or a group file. Depending on the value passed into mode, you can receive:
- a single variable into a single file,
- several variables with a file for each variable,
- several variables into a group file. Note: the filename parameter is an in/out parameter depending on the request mode. When a single variable is received into a single file, the filename is returned by the function. When a group file is got, you must supply a filename to store within.

See also

@TicableLinkCable@


Return to the API index