tksynchro.h File Reference

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

Go to the source code of this file.

Functions

void C2F() tksynchro (int *l)


Function Documentation

void C2F() tksynchro ( int l  ) 

TODO : comment

Parameters:
l 

Definition at line 10 of file tksynchro.c.

References l, NULL, str, TCLinterp, and TK_Started.

00011 {
00012   char str[128];
00013 
00014   if (TK_Started) 
00015   {
00016     int RET;
00017 
00018     if(TCLinterp != NULL)
00019         {
00020       RET = Tcl_Eval(TCLinterp,"set isscipadinterp [interp exists scipad]");
00021       if (RET==TCL_ERROR)
00022           {
00023                 Scierror(999,"Error : tksynchro %s \r\n",TCLinterp->result);
00024       }
00025       if(strcmp((char*) Tcl_GetVar(TCLinterp,"isscipadinterp", TCL_GLOBAL_ONLY),"1")==0)
00026           {
00027                 sprintf(str,"scipad eval {set sciprompt %d}",*l);
00028                 RET=Tcl_Eval(TCLinterp,str);
00029           
00030                 if (RET==TCL_ERROR)
00031             {
00032               Scierror(999,"Error : tksynchro %s \r\n",TCLinterp->result);
00033             }
00034           }
00035     }
00036   }
00037 }


Generated on Sun Mar 4 16:13:50 2007 for Scilab [trunk] by  doxygen 1.5.1