[futurebasic] Re: [FB] end fn not expected?!?!

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2009 : Group Archive : Group : All Groups

From: Brian Heibert <heibert@...>
Date: Thu, 23 Jul 2009 19:49:54 -0400
ok I will look it up

Brian H.

On Jul 23, 2009, at 7:38 PM, Brian Stevens wrote:

>
> On Jul 23, 2009, at 4:15 PM, Brian Heibert wrote:
>
>> LOCAL FN CheckForFKey
>> dim ev as ^EventRecord
>> dim as unsigned char keyCode
>> ev = event
>> select ( ev.what)
>> case _keyDwnEvt
>> keycode = ( ev.message >> 8) and 255
>> select ( keycode)
>> case 122: DEF FN DoAddition: FN DoAddition
>> end select
>> end select
>> end fn
>>
>> I am using this fn to check for fkeys
>> I haven't even called it up yet using FN CheckForFkey
>> and I am getting a error
>>
>> Error in MathMaster Plus 2009r1.main at line 32
>> •• 'end fn' not expected in line 32 of MathMaster Plus 2009r1.main
>> 32:  end fn
>>
>> I understand that FB/FBtoC is saying there is a extra end fn
>> but it looks like to me that is not a extra that it is needed there!
>>
>> Is this a bug on my part or a bug on FB/FBtoC?
>> And what can be done to fix it?
>
> This same question for this same code was asked on June 28, 2009 and  
> got an answer. Maybe look it up.
>
>
> Brian
>
> --
> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
>