-
Notifications
You must be signed in to change notification settings - Fork 2
/
modify337.rul
35 lines (25 loc) · 925 Bytes
/
modify337.rul
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// COMMENT LINE 1
// COMMENT LINE 2
337I1 | 337I1 | ' '
337I2 | 337I2 | ' '
337$8 | 337$8 | S
337$3 | 337$3 | S
// It would be nice to know which ini file (= language) we use.
// Now we default to Finnish, but it is brave and suboptimal solution...
337(n)$a | 337(n)$a | Delete('.', At Ending); \
Delete(',', At Ending); \
If (InTable(S, '337_a.tbl') And (RegFind(@040(1)$b, 'swe') = 0)) Then Table ('337_a_svenska.tbl') Else Table ('337_a.tbl')
#if (Exists(@337$b))
337$b | 337$b | S
#endif
#if (Not Exists(@337$b))
337$a | 337$b | Delete('.', At Ending); Delete(',', At Ending) ; If (InTable(S, '337_b.tbl')) Then Table ('337_b.tbl')
#endif
#if (Exists(@337$2))
337$2 | 337$2 | S
#endif
#if Not (Exists(@337$2))
337$a | 337$2 | Delete('.', At Ending); Delete(',', At Ending) ; If (InTable(S, '337_b.tbl')) Then 'rdamedia'
#endif
337$? | 337$? | S
337(ns)$a | 337(n) | Sort('38ab2')