01-17-2009, 10:44 AM
......
out "some thing"
myfunction()
......
------------------------------------
function flag hDlg
bi=id(1010 hDlg)
code 1:
if((flag)&1)
out "pressed";but+ bi
else
out "released";but- bi
code 2:
if((flag)&1)
out "pressed";but+ bi
else
out "released";;but- bi
...
ret
code 2 is ok,but code1 can't work and print a debug text which never should print here,that text I put it before the function......fainting~~~
out "some thing"
myfunction()
......
------------------------------------
function flag hDlg
bi=id(1010 hDlg)
code 1:
if((flag)&1)
out "pressed";but+ bi
else
out "released";but- bi
code 2:
if((flag)&1)
out "pressed";but+ bi
else
out "released";;but- bi
...
ret
code 2 is ok,but code1 can't work and print a debug text which never should print here,that text I put it before the function......fainting~~~