PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

EMVB problem

When I run this code

V1 = Val(V1a.Text)
V2 = Val(V2a.Text)
P1 = Val(P1a.Text)
P2 = Val(P2a.Text)

I get a error that says
Type mismatch
'[undefined]'
The error will happen when I run any of the lines. I have declared V1,V2,P1,P2 as integer with the same result. The code will work on normal VB as I have tested on a school computer today.[/img]
try using CInt() instead.
and make sure it fulfills isNumeric(foo) if the values are coming from user input.
i think he left ORbot...

and after all of our help...

:wink:
dammit... and my 1337 vb skillz are going to waste...

*guphaw*