This fie is needed under certain circumstances.

According to the manual of the PBP, the modedefs.bas is needed only when you use commands like serin or serout and have mode names like the T2400.

Otherwise you do not need to include it.

Check the book.

Ioannis