Code: Select all
if -1 then
dim i as integer = 1
dim j as integer = i+2
dim k as integer = j-i
call showmsg("i:"&i&" j:"&j&" k:"&k)
endIt returns:
Code: Select all
i:1
j:1256
k:612
Variables initialized inside "if" statements doesn't seem to work correctly. Their operations drop random values (probably due a wrong memory address reference?) For example:
Code: Select all if -1 thenIt returns: Code: Select all i:1 | ||
Who is online (over the past 5 minutes)Users browsing this forum: 1 guest | ||