[futurebasic] [FB^3] Fltr & Incl Globals

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2000 : Group Archive : Group : All Groups

From: Pete <furbies@...>
Date: Tue, 26 Sep 2000 21:37:01 +1100
I thought I'd be a clever little programmer and move the various globals &
constants from the project's globals file into the various fltrs & incl
files.

I wrapped each set of globals in a BEGIN GLOBALS/END GLOBALS set and each
set of constants in a set of BEGIN ENUM/END ENUM set.

Now the compiler is complaining that it can't see globals refered to in one
or more files that are defined in other fltrs/incls.

Where the globals/constants are only refered to by the fltr/incl they're
dimmed in, the compiler isn't complaining. (as near as I can tell)

I thought the FB^3 allowed us to create self contained fltrs & incls that we
could just drop into our projects, and that we could refer to globals
defined in those fltrs/incls in other fltrs/files

any ideas about what I'm doing wrong ??

It's going to be a real pain moving all the globals/constans back into the
GLBL file

(I'm using Program Generator for the project)

Pete...


FB^3 Release 3 & PG 4.4
Macintosh G3/266
OS 8.6
RAM: 192Megs