そうですか・・・残念です。 orz

NAME = "abc"
sdim tmp,64,36

BUF = "abc35q\nabc434\nabc"

notesel BUF
notemax i
repeat i
noteget a,cnt
instr stats,a,NAME,0
if (stats ! -1) {tmp.cn = a : cn++}
loop
repeat cn
strlen SIZE,tmp.cnt
strlen SIZE2,NAME
if (SIZE = SIZE2) {dialog ""+tmp.cnt}
loop