[futurebasic] File Style

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1997 : Group Archive : Group : All Groups

From: Brian Victor <bhv11@...>
Date: Thu, 27 Nov 1997 12:45:05 -0500
I'd like to know what the "best" way is to attach data to a window,
avoiding global variables if at all possible.  I'm thinking along the lines
of giving a window a pointer to a data structure when I open it.  The data
structure would contain a handle to the file, file prefs, etc.  The demos
I've seen have all either stored such information in a global or in an edit
field in the window.  If a global variable is necessary, how can I attain
this as simply and as efficiently as possible?

Thanks in advance, and happy thanksgiving. :)

-- Brian Victor