RosettaCodeData/Task/Use-another-language-to-call-a-function/Tcl/use-another-language-to-call-a-function-5.tcl
2023-07-01 13:44:08 -04:00

9 lines
250 B
Tcl

#include <tcl.h>
Tcl_Interp *interp;
int main(int argc, char **argv) {
Tcl_FindExecutable(argv[0]); /* Initializes library */
interp = Tcl_CreateInterp(); /* Make an interpreter */
/* Rest of contents of main() from task header... */
}