#: 14197 S10/OS9/6809 (CoCo)
05-Feb-92 00:36:38
Sb: #Fonts part2
Fm: Brother Jeremy, CSJW 76477,142
To: All
Dear Friends:
I am currently converting a program from BASIC to BASIC09. The Basic program
contains the line
C=INSTR(A$,CHR$(27)+")s")
A$ is 100 bytes of a font file. CHR$(27) or $1B is a control/escape code. ANd
")s" does something or other. (How's that for accurate terminology?)
I know that under COCO BASIC, the command would search a string, and then
return the location of the target string in a search string. For example:
INSTR(position,search-string,target)
I cannot find an exact command for INSTR under BASIC09. Pg 11-164 of the Level
II guide gives an example of a command called SUBSTR. I am not sure if this
will do what I need.
Any suggestions?
With all best wishes,
Br. Jeremy, CSJW
There is 1 Reply.
|