?DN ERROR
Radio Shack TRS-80 Color Computer
Severity: MinorWhat it means
DN stands for Device number error.
Tandy's Getting Started With Color BASIC manual says you can use only three devices with OPEN, CLOSE, PRINT or INPUT: 0, -1 or -2.
Any other number gives this error.
In the manual's examples, #-1 is the tape recorder and #-2 is the printer.
Affected Models
- Radio Shack TRS-80 Color Computers running Color BASIC
How to Fix It
-
Check the device number after the # in the line that stopped.
-
Change it to 0, -1 or -2.
A missing minus sign is enough to cause it: #1 instead of #-1.