GCLIB_DLL_EXPORTED GReturn GCALL GProgramDownload | ( | GCon | g, |
GCStringIn | program, | ||
GCStringIn | preprocessor | ||
) |
Downloads a program to the controller's program buffer.
g | Connection's handle. |
program | Null-terminated program for download. |
preprocessor | Options string for preprocessing the program before sending it to the controller. Null allows the library to use defaults for the download. See the Program Preprocessor documentation for options. |
See x_programs.cpp for an example.
Referenced by GProgramDownloadFile(), GSetupDownloadFile(), message(), record_position(), x_ginterrupt(), x_gmessage(), x_nonblocking(), and x_programs().