TIP: Click on subject to list as thread! ANSI
echo: semware
to: All
from: `Greg Macdonald`
date: 2003-01-23 08:29:32
subject: [TSEPro] Re: Keeping tse.ui virgin

From: "Greg Macdonald" 
@Date: Wed, 22 Jan 2003 13:59:33 -0800
@Sender: semware-owner{at}sawasdi.apana.org.au



I guess I modify things to much...

tse.ui
------
#ifexist "user.cfg"
    #include "user.cfg"    // I also keep a reference tse.cfg
#endif

// ... tse's procedures

#ifexist "user.s"
    #include "user.s"    // my "always" procs and menus
#endif                        // may depend on those in tse.ui

// ... tse menu definitions - actually, I modify these too

#ifexist "user.key"
    #include "user.key"  // override tse by being first of dupe decl
#endif

#warn(off, 1106)    // Ignore sc32.exe's "Duplicate key defined... ignored"
// ... tse key assignments
#warn(restore)

Greg


----- Original Message ----- 
From: "Sammy Mitchell" 
To: 
Sent: Wednesday, January 22, 2003 11:24 AM
Subject: [TSEPro] Re: Keeping tse.ui virgin


> 
> H. Pikaar wrote:
> >If you would use the #include ['Name_0001.ui'] in a copy of
> >the virgin tse.ui on the places needed then these would be
> >the only changes and if you then number these, you can
> >easily cut&paste and then edit them.
> 
> This works well.
> 
> Another thing we could do (just brain-storming outloud here)
> is to use the #ifexist (or #ifnexist) to conditionally
> include a user include file, but only if it exists, as in:
> 
> #ifexist "mykey.inc"
>     #include "mykey.inc"
> #endif
> 
> --
> Sammy Mitchell
> 
> --
> TSEPro mailing list
> 
> 
> 

--
TSEPro mailing list



---
[sawasdi.apana.org.au] (3:800/846.13)
* Origin: apana>>>>>fidonet
SEEN-BY: 633/267 270
@PATH: 800/846 1 640/954 774/605 123/500 106/1 379/1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.