====== LOAD ====== [vic20] [c16] [cplus4] [c64] [c128] [m65] Load a file from tape or disk to memory. ===== Syntax ===== LOAD , [, ] The ''LOAD'' command loads a binary file from the given device into memory using the KERNAL load routine. * must be a STRING * must be a number: * device number 1: tape * device numbers 8-15: disk drives * If is not specified, the first to bytes (LB/HB) of the file will be used as the start address. Otherwise the first two bytes of the file will be discarded and the rest will be loaded into the memory address specified by . Use the ''ON ERROR GOTO'' statement beforehand if you want to trap errors during the loading process. File I/O commands are not implemented for the Commodore PET. ===== See also ===== * [[v3:fileio|]] * [[v3:error_handling|]]