I am getting over bypass heart surgery. I keep getting a little syntax error in the following subroutine. Does anybody see the error.
sub MouseOverObject
If (MouseX >= HB(1,ZZ) ) | (MouseX <= HB(3,ZZ))
If (MouseY >= HB(2,ZZ)-HB(10,ZZ)) | (MouseY <= HB(4,ZZ))
'-------------MAKE THE SELECTION----------
overcontrol = 1:SELECTED=ZZ:TEST$=TYPE$(1,SELECTED)
'-------------MAKE THE SELECTION------------
EndIf
EndIf
return
Thanks Texas Pete
What's the specific error message you get?
You don't give us very much to work with.
I could be tacky and list about 30 things that could be wrong! ;)
My GUESS is that HB is not a function but a 2-dim array.
() means function [] means array.
That's the best i can do without additional info.
LarryMc
Yes Pete you replace () with [] for array
Thanks fellas you got it . It was the [] for array . I had already made that change thru out the rest of the program.
I think all those pain killers have fogged my brain. I am getting better every day. Bypass is tough. They did save my
heart and I did not have a heart attack. Thanks
Texas Pete
Been there/done that Pete. Had my triple bypasses in 93. Had a stent put in in 96 and another this past Dec.
Trust me things will get better.
LarryMc