string- integer problem

string- integer problem

Anonymous
Not applicable
514 Views
2 Replies
Message 1 of 3

string- integer problem

Anonymous
Not applicable
hi,
i insert a dynamic block and try to change on value.

dim framewidth as string---------string is necessary
framewidth=8---------(framewidth may vary)
Dim arr As Variant
arr = nDoorBlockref.GetDynamicBlockProperties
arr(3).value= framewidth-------this does not work
arr(3).value=8#---------this works
arr(3).value=8---------------this does not work
arr(3).value=cint(framewidth)------does not

pl suggest what is wrong?
thanx
0 Likes
515 Views
2 Replies
Replies (2)
Message 2 of 3

arcticad
Advisor
Advisor
8# is a double
use cdbl(framewidth)
---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes
Message 3 of 3

Anonymous
Not applicable
thank u
it worked great.....
0 Likes