Talk:INSTR
A couple of things:
1) I cannot find INSTR in the commodore basic 4.0 reference manual. The article page here states that it was added in 3.5, but it does not appear in those manuals.
2) It appears BASIC will return "TYPE MISMATCH ERROR" if it is not supported. I'm not clear on how one can positively conclude that it is or is not supported, but this seems to be a way to do that?
3) assuming (2) is correct, INSTR does not appear to exist in any of the ROMs in the online PET emulator, which includes version 4.
I was testing this, because The BASIC Handbook lists the starting-point parameter in the first input, not the last. I was unable to test this, however, for the reasons above.
Can someone more knowledgable comment?
Maury Markowitz (talk) 16:13, 10 December 2023 (CET)