> an edit locked program (as far as i know) has a null (00h) as it's last > character. can someone verify this? No, not basic anyway (I think it's a different type of variable for asmcomped asm). For basic, it's a $FF anywhere in an un- executed portion of the program that has no gotos that go across it (Lbl searches crash on $FF's too).