I need to perform some actions in an infinite loop, taking into account the pressed key at each iteration. I wrote:
- Code: Select all Expand view
- do while .T.
if inkey(0)=32
.........
else
exit
endif
sysrefresh()
enddo
However, in FW24.2, this design does not work. That is, inkey(0) freezes. How can this be implemented ?