This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| int | setenvtcl (char *string, char *value) |
| int setenvtcl | ( | char * | string, | |
| char * | value | |||
| ) |
TODO : comment
| string | ||
| value |
Definition at line 8 of file setenvtcl.c.
References FALSE, NULL, TCLinterp, and TRUE.
00009 { 00010 int bOK=FALSE; 00011 char MyTclCommand[2048]; 00012 00013 sprintf(MyTclCommand,"env(%s)",string); 00014 00015 if (TCLinterp==NULL) return((int)FALSE); 00016 00017 if ( !Tcl_SetVar(TCLinterp,MyTclCommand, value, TCL_GLOBAL_ONLY) ) 00018 { 00019 bOK=(int)(FALSE); 00020 } 00021 else 00022 { 00023 bOK=(int)(TRUE); 00024 } 00025 00026 return bOK; 00027 }
1.5.1