The $prv_rd variable stores backend sqlite data (varchar data type). The data 
is 0000874. In order to perform any mathematical operation on this data, I use :

set calc [expr $prv_rd+2]

The above expression gives me the following error message :

Error : expected integer but got "0000874" ( looks like invalid octal number )

How do I get rid of this error?
Any early help will be appreciated.

Thanks.
Anirban Sarkar

Reply via email to