Files
TempleOS-Rijn/LT/Doc/Quirks.TXZ
T
2018-09-08 21:45:20 +02:00

13 lines
1.7 KiB
Plaintext

$WW,1$* You run a risk of problems if you do file operations on the same files simultaneously because there is $BK,1$no file sharing mechanism$BK,0$.
* Call $LK,"ChangeDisk","MN:ChangeDisk"$() when you insert a new removable media.
* You can only $FG,2$extern$FG$ something once. There is a varient called $FG,2$LTextern$FG$ which binds a C+ definition to a asm symbol. This, too, can only be done once.
* $FG,2$switch/case$FG$ statements allocate a single jump table--do not use with wide, sparse ranges of case values. Eventually, this might be fixed.
* Don't use default str constant parameters on functions compiled in $LK,"Static Compiled Mode","FF:::/LT/Doc/OSGlossary.GLZ,Static Compiled Mode"$ because there is a bug.
* Don't do a $FG,2$goto$FG$ out of a $FG,2$try{}$FG$.
* Don't attempt to use $FG,2$Fs->ignore_except$FG$ with $FG,2$CTRL-ALT-C$FG$.
* A $LK,"Cd","MN:Cd"$() cmd must be followed by two semicolons if a $FG,2$#include$FG$ is after it. This is because the precompiler processes the next instruction early.
* The last semicolon on the cmd line is converted to a double semicolon because the compiler looks ahead before doing a cmd. This normally has no negative effect, but when entering "$FG,2$if$FG$" statements with "$FG,2$else$FG$" clauses it presents problems.
* You cannot use $FG,2$$$IB$$,$$IT$$ or $$IS$$$FG$ at the command line or before the $LK,"::/LT/Adam/Ltf/LtfEdit.APZ","FI:::/LT/Adam/Ltf/LtfEdit.APZ"$ file has been included during start-up.
* The assembler error messages are often off by a line and undefines are cryptic.
* You can do a $FG,2$class$FG$ forward reference by using $FG,2$extern$FG$ on the first declaration, but you can only do pointer referrences to the $FG,2$class$FG$.