Error codes · Scheduled commands
PW6502
scheduled_outside_a_command
The program must hold to this: a schedule or an unschedule is a command's statement: what a page shows schedules nothing.
Reading the diagnostic
pw check prints the code in brackets, [PW6502], with the sentence above and the place in your program. Errors and diagnostics explains how to read one, and every code is listed with its rule.