T TomDest Member Licensed User Longtime User Jan 21, 2011 #1 Conversion of variables Huhu, I got quite far with basic4ppc. A newbie question: How to convert variables? E. g. I got the input from a text box and what to convert it into a integer variable? Thanks in advance, TomDest Last edited: Jan 21, 2011
Conversion of variables Huhu, I got quite far with basic4ppc. A newbie question: How to convert variables? E. g. I got the input from a text box and what to convert it into a integer variable? Thanks in advance, TomDest
klaus Expert Licensed User Longtime User Jan 21, 2011 #2 You don't realle convert variables. Dim I as Integer I = TextBox1.Text works fine. Best regards.
M mjcoon Well-Known Member Licensed User Jan 21, 2011 #3 klaus said: You don't realle convert variables. Dim I as Integer I = TextBox1.Text works fine. Click to expand... But even better would be to test IsNumber() first... Mike.
klaus said: You don't realle convert variables. Dim I as Integer I = TextBox1.Text works fine. Click to expand... But even better would be to test IsNumber() first... Mike.
T TomDest Member Licensed User Longtime User Jan 22, 2011 #4 Perfect - now I got everything I need - thanks a lot!