[CLN-list] integer conversion functions weirdness

Pierangelo Masarati masarati at aero.polimi.it
Thu Oct 19 18:10:15 CEST 2006


Sheplyakov Alexei writes:
> So my question is: how do I check if the variable of cl_I type can be
> converted to int (or any other built-in integer type[s])?

My 2c: wrap the conversion in a try block, and catch the exception?. 

p. 

Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 | mailto:pierangelo.masarati at polimi.it
via La Masa 34, 20156 Milano, Italy   | http://www.aero.polimi.it/~masarati 

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html 



More information about the CLN-list mailing list