|
In VB,it works a little bit different
if i have this code : --- if a= b then dothis ---- thatīs a line if
if i have this code : ---- if a = b then msgbox "a equals b" msgbox "that means a has the same value as b" msgbox "simple math-fucker" end if -------------
thatīs a block if. thereīs no 'begin' and 'end' statements needed.
i have never encountered this problem before, i will do a more detailed debugging later.
But thanks anyway.
> I don't use VB but I would have though you need to put the code after your 'if > xxxx=xxxx then' statement as a block. For instance in Delphi, which I guess is > pretty similar to VB it would be : > if whatever = whatever2 then > do begin > blahblahblah; > blahblahblah; > blahblahblah; > blahblahblah; > end else > 'do fuck all' > > That way, all the code between begin and end will get executed in order. I don't > know what the equivelant of begin and end are in VB, maybe that is the problem. > > Trust me, I'm a fucking Doctor. > > Arucard >
|