Code:
S1 = "COMD.7:" + Str(baud_com1) + "," + Str(databits_com1) + "," + Chr(parity_com1) + "," + Str(stopbits_com1)
Open S1 For Output As #2                                    'SUART2.TXD
Hab ich nun überarbeitet.
Nun bekomme ich vom Compiler 2 mal
External routine not found
und 2 mal
Label not found

Bei beiden handelt sich es um
_FILEOPEN_OUTPUT
_FILECLOSE

Schaft das der Compiler etwa nicht?!?