Nп/п : 51 из 51
От : Stephen Walsh 3:633/280 02 ноя 25 15:22:30
К : Nil Alexandrov 02 ноя 25 07:32:01
Тема : showold.py
----------------------------------------------------------------------------------
@MSGID: 3:633/280 6906dc88
@REPLY: 2:5015/46 6906cd8f
@CHRS: CP437 2
@TZUTC: 1100
@TID: hpt/lnx 1.9 2024-03-02
Hello Nil!
02 Nov 25 06:13, you wrote to me:
SW>> Can you post the relevant parts of your config file(s)?
NA> -=config=-
NA> Address 2:5015/46@fidonet
NA> set FidoBaseDir=/home/fido
NA> Include [FidoHPTDir]/path
NA> -=path=-
NA> set FidoSysDir=[FidoBaseDir]
NA> Outbound [FidoSysDir]/outbound
NA> PassFileAreaDir [FidoSysDir]/fileecho.passthrough
Pointing variables at other variables is generally asking for
trouble. Even I know that and I`m not a experienced programmer with
years under my belt.
Problems with variable chaining:
1. Circular references: What if someone does:
set VarA=[VarB]
set VarB=[VarA]
2. Debugging nightmare: When something breaks, you have to trace
through multiple levels to find the actual value.
3. Hidden dependencies: Changing FidoBaseDir silently affects
everything that references it.
4. Harder to validate: Can`t easily check if paths are valid
until all variables are expanded.
I`ll post a update in a day or two. Will need to test with set statements.
Stephen
--- GoldED+/LNX 1.1.5-b20250409
* Origin: Dragon`s Lair ---:- dragon.vk3heg.net -:--- Prt: 6800 (3:633/280)
SEEN-BY: 19/10 50/109 103/705 104/117 124/5016
153/757 154/10 30 201/0 203/0
SEEN-BY: 218/840 221/0 1 6 360 229/426 240/1120
5832 263/1 280/464 5003 5006
SEEN-BY: 292/854 8125 301/1 310/31 320/219 335/364
341/66 234 396/45 423/81
SEEN-BY: 423/120 452/28 166 460/58 463/68 633/267
280 414 418 420 422 509
SEEN-BY: 633/2744 712/848 770/1 5000/111 5010/352
5015/46 5020/400 715 828
SEEN-BY: 5020/846 848 1042 4441 12000 5030/49 1081
5053/51 5061/133 5075/128
SEEN-BY: 5083/444
@PATH: 633/280 280/464 221/1 6 5020/1042 4441