[futurebasic] Re: [FB] FBtoC and the Clear Key using _KeyDwnEvt

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2008 : Group Archive : Group : All Groups

From: maxclass@...
Date: Tue, 10 Jun 2008 15:29:12 -0700
On Jun 10, 2008, at 12:37 PM, Rich Love wrote:

> Ah, it does make a difference when you use ON DIALOG.
>
> This works:
>
> dim gAnyKey
> end globals

Don't know if it makes a difference, but, there is no 'begin globals'  
statement prior to defining the global variables to match up with the  
'end globals' statement (might be assumed but that can lead to  
problems).

Also, dim gClearKey as what?.

A short, a long, a single, a double?

Probable not a good idea to leave it to chance as below (but may still  
work).

dim gClearKey

These are just guesses but I have found that never leaving anything to  
chance tends to produce code with less bugs and fewer lost time in the  
long run.

Best of luck.

Max Taylor
The MaxClass Guy