when i write a dcal, the variables stay constantly in memory.
even for other drawings or after closing the datacad and openning again.
where the values are stored?
how can i store variable that its scope exits in the drawing only.
for example i wrote a program that count from 1 and write at each click the count on the drawing.
but, when i activate the macro in other drawing it continue from the recent count.
and even if i close the datacad. and open new drawing' it continues.
can anyone clears the varibles scope issue for me.
thanks
barak
even for other drawings or after closing the datacad and openning again.
where the values are stored?
how can i store variable that its scope exits in the drawing only.
for example i wrote a program that count from 1 and write at each click the count on the drawing.
but, when i activate the macro in other drawing it continue from the recent count.
and even if i close the datacad. and open new drawing' it continues.
can anyone clears the varibles scope issue for me.
thanks
barak