Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Variable back to C?

Status
Not open for further replies.

Silentkiller

Technical User
Feb 13, 2003
14
0
0
GB
Hi,
Does anyone know how can i pass a variable from tcl back to C. Eg. me selected a filename in Tcl, and wanting to open the file in C.
M'i suppose to use Tcl_LinkVar or Tcl_SetVar?
Pls enlighten. A simple example will be helpful.
Help will be greatly appreciated.
 
Thanks for trying to help.
Me managed to solve the problem
 
Try comp.lang.tcl next time instead of being sarcastic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top