Thank you for Welcome
I'm one old programmer, for me not 1 is 0, not 0 is 1.
The Qbasic not have the boolean variables, boolean signed worst. The drag-drop example is one outgrowth of one
my old software of '90 years. If somebody is interested, i attach in this post one little txt of my old
subroutines for manage the mouse. Is possible it is useful for old hardware with MSDOS until Windows XP.
Naturally the variable bott% is integer.
My big surprise, is when i developped one recent videogame with the mouse subroutines with integer: something not go.
Fortunatly, some time after, i discover that is possible write the boolean variables.
For clear my mind, i conceive this experiment:
bott% = 1 'The experiment can be repeated with bott% = 0 or -1 if want, or other, or other type variables, signed or unsigned.
a% = a% + 1 'One check for see how many cicles does.
LOOP UNTIL bott%
> 1 OR bott%
< 0 'The unexpected result go out. The parameters can be changed.
One bug?
Best regards at allbody, and excuse for my delay (I have always a lot of things to do), and for my not advanced english.