[futurebasic] Re: [FB] Tweaking the runtime

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

From: Joe Lewis Wilkins <PepeToo@...>
Date: Tue, 15 Aug 2000 07:43:43 -0700
Hi Chris,

Chris Stasny wrote:

> The new OVERRIDE statement will let you hack specific functions
> without replacing the entire header. Give it a try.

So, you could actually set up Project Name global, like :  gCurrentProject$ =
"HowdyDoodieTime"

Then at the end of the Runtime (or the beginning of a Project's Main?),

SELECT CASE gCurrentProject$
    CASE "Project No. 1":
         OVERRIDE RUNTIME FnName1
         OVERRIDE RUNTIME FnName2
        (Would be awkward to put the hacked versions here. Where could they be
put?)
    CASE "Project No. 2":
         OVERRIDE RUNTIME FnName2
         OVERRIDE RUNTIME FnName3
        ?
    CASE "Project No. 3":
         OVERRIDE RUNTIME FnName3
         OVERRIDE RUNTIME FnName4
        ?
    CASE "Project No. 4":
         OVERRIDE RUNTIME FnName4
         OVERRIDE RUNTIME FnName5
         OVERRIDE RUNTIME FnName6
         OVERRIDE RUNTIME FnName7
        ?
    CASE "HowdyDoodieTime":
         OVERRIDE RUNTIME FnName4
         OVERRIDE RUNTIME FnName5
         OVERRIDE RUNTIME FnName6
         OVERRIDE RUNTIME FnName7
        ?
END SELECT

Joe Wilkins