[GiDlist] A question about *.bas!
Posted: Tue May 28, 2002 6:48 pm
hello!
I am a Chinese student and often use GID. Now I use ver 6.1.2. I want to write a problemtype which can write a file to my calculating program,but I must use the layers. But I can't find the command about output how many layers,so I write a program with TCL which can output the number of layers. But now I meet a question: the number of layer outputting by my TCL program is a string,when I use this number in loop in *.bas,it do not work correctly.
Could you tell me who to tranform the string into a integer number?
My best wish to your!
yours,Niu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20020528/d034007c/attachment.htm
I am a Chinese student and often use GID. Now I use ver 6.1.2. I want to write a problemtype which can write a file to my calculating program,but I must use the layers. But I can't find the command about output how many layers,so I write a program with TCL which can output the number of layers. But now I meet a question: the number of layer outputting by my TCL program is a string,when I use this number in loop in *.bas,it do not work correctly.
Could you tell me who to tranform the string into a integer number?
My best wish to your!
yours,Niu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20020528/d034007c/attachment.htm