Ok Charles
I will send you code there is no problem about that.
But just one thing...
error is the same as in some old versions of oxygen which point into
simple Tally function and is about comma inside Tally(src,",")
so here is well know tally...
FUNCTION Tally (string Main$,string Match$) As INT
'print "TALLY:" + main$
INT n
For n=1 TO 20:dPos[n]=0:Next n
Dim i,j,q,mlen,matchlen As INT
Dim t$ As STRING
mlen = Len(Main$)
matchlen = Len(Match$)
i = 1
j = 0
q = 0
If (mlen = 0) Or (matchlen = 0)
Return j
End If
do
t$ = Mid(Main$,i,matchlen)
If t$ = Chr(34) THEN q = q + 1
If q=2 THEN q = 0
If t$ = Match$ And q=0
j++
'mem del$ position
dpos[j]=i
'j = j + 1
End If
i++
If i > mlen then
exit do
End If
End do
'tbreak:
Return j
End FUNCTION
Compiler complain about this comma sign ,why?
then complain about MsgBox() function to...
'MsgBox--------------------------------
Function MsgBox (lpText AS STRING,lpCaption AS STRING) as INT
If lpCaption = "" then lpCaption="<MsgBox>"
Return MessageBox 0,lpText,lpCaption,0
End Function