[futurebasic] Re: [FB] Tweaking the runtime

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

From: Chris Stasny <staz@...>
Date: Tue, 15 Aug 2000 12:22:58 -0500
>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


The select case thingy would not work. You would need compiler 
directives like COMPILE LONG IF.



Best,

-STAZ  ~)~

800.348.2623 Orders  http://www.stazsoftware.com
228.255.7086 FAX     mailto:staz@...