@@ -1623,18 +1623,16 @@ <h3 class="Ss" id="Exporting_and_importing_symbols"><a class="permalink" href="#
1623
1623
< h3 class ="Ss " id ="Purging_symbols "> < a class ="permalink " href ="#Purging_symbols "> Purging
1624
1624
symbols</ a > </ h3 >
1625
1625
< p class ="Pp "> < code class ="Ic "> PURGE</ code > allows you to completely remove a
1626
- symbol from the symbol table as if it had never existed.
1627
- < a class ="permalink " href ="#USE "> < i class ="Em " id ="USE "> USE WITH EXTREME
1628
- CAUTION</ i > </ a > ! I can't stress this enough,
1629
- < a class ="permalink " href ="#you "> < b class ="Sy " id ="you "> you seriously need
1630
- to know what you are doing</ b > </ a > . DON'T purge a symbol that you use in
1631
- expressions the linker needs to calculate. When not sure, it's probably not
1632
- safe to purge anything other than variables, numeric or string constants, or
1633
- macros.</ p >
1626
+ symbol from the symbol table, as if it had never been defined. Be
1627
+ < a class ="permalink " href ="#very "> < i class ="Em " id ="very "> very</ i > </ a >
1628
+ careful when purging symbols, especially labels, because it could result in
1629
+ unpredictable errors if something depends on the missing symbol (for
1630
+ example, expressions the linker needs to calculate).</ p >
1634
1631
< div class ="Bd Pp Bd-indent Li ">
1635
- < pre > DEF Kamikaze EQUS "I don't want to live anymore"
1636
- DEF AOLer EQUS "Me too"
1637
- PURGE Kamikaze, AOLer</ pre >
1632
+ < pre > DEF Kamikaze EQUS "I don't want to live anymore"
1633
+ AOLer: DB "Me too lol"
1634
+ PURGE Kamikaze, AOLer
1635
+ ASSERT !DEF(Kamikaze) && !DEF(AOLer)</ pre >
1638
1636
</ div >
1639
1637
< p class ="Pp "> String constants are not expanded within the symbol names.</ p >
1640
1638
</ section >
0 commit comments