F fanfalveto Active Member Licensed User Longtime User Sep 29, 2012 #1 This is the code,gets error.Please how I can do that. hora1 is an int. Try If EditText1.Text="" Then hora1=0 End If Catch End Try Click to expand... Thank you
This is the code,gets error.Please how I can do that. hora1 is an int. Try If EditText1.Text="" Then hora1=0 End If Catch End Try Click to expand... Thank you
U ukimiku Active Member Licensed User Longtime User Sep 29, 2012 #2 Please write what error exactly is given. I'd suggest you remove the Try..Catch..End Try block as long as your app is not running ok. You can use the Log() command to print variable and text field contents to check. I don't understand why you called this thread "going from string to int". Which variable is of type int? Which of string? Please provide more code context so we can help you. Thanks. Regards, Upvote 0
Please write what error exactly is given. I'd suggest you remove the Try..Catch..End Try block as long as your app is not running ok. You can use the Log() command to print variable and text field contents to check. I don't understand why you called this thread "going from string to int". Which variable is of type int? Which of string? Please provide more code context so we can help you. Thanks. Regards,
T Tom Law Active Member Licensed User Longtime User Sep 29, 2012 #3 Is hora1 dimensioned globally or locally i.e. is it viewable from this sub? Upvote 0
F fanfalveto Active Member Licensed User Longtime User Sep 29, 2012 #4 I made a small error in the code, problem solved. thank you very much. one thing, my English is from google translator, sorry for my way of expressing myself maybe not very clear Upvote 0
I made a small error in the code, problem solved. thank you very much. one thing, my English is from google translator, sorry for my way of expressing myself maybe not very clear
U ukimiku Active Member Licensed User Longtime User Sep 30, 2012 #5 The English was clear enough. Regards, Upvote 0