Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   how to use vector(tcl object) in C (http://www.go4expert.com/forums/vector-tcl-object-c-t11060/)

cimon 3Jun2008 21:02

how to use vector(tcl object) in C
 
Hello

man vector gives

Code:

NAME
      vector -  Vector data type for Tcl

SYNOPSIS
      vector create vecName ?vecName...? ?switches?

This I saw somewhere has been used in C code as follows
cellWidth = vector(1, numNodes);
cellHeight = vector(1, numNodes);


I wanted to know, how can this vector can be used.
Because when I tried to use it, it said be vector not declared, is ther some particular way to use TCL object. As it is C code, so i m sure it is not at all related to vector class

can some one shed some light if this is vector what I am thinking of, because I didn't found any vector defination in any other file, where I saw this use of vector.

I am Feisty Fawn (7.04)(Ubuntu Linux) and use gcc.

-Thank You


All times are GMT +5.5. The time now is 02:19.