[Gambas-user] Coding problem / bug ?

Steven Lobbezoo steven at ...1652...
Sat May 12 15:47:36 CEST 2007


I changed Tag into Tage (not reserved). This does not change anything !


Le samedi 12 mai 2007 15:11, ron a écrit :
> On Saturday 12 May 2007 13:57, Steven Lobbezoo wrote:
> > PRIVATE FUNCTION DoLine(sData AS String) AS String
> > DIM s, e AS Integer
> > DIM Tmp AS String
> > DIM Tag AS String[]
> >
> >   ' we do the replace/find data
> >   Tmp = sData
> >   s = InStr(Tmp, "{{")
> >   WHILE s > 0
> >     e = InStr(Tmp, "}}", s)
> >     Tag = Split(Mid(Tmp, s + 2, e - s - 2), ":")
> >     Tmp = Mid(Tmp, 1, s - 1) & DoField(Tag) & Mid(Tmp, e + 2)
> >     s = InStr(Tmp, "{{")
> >   WEND
> >   RETURN Tmp
> > END
>
> Just a idea, the Tag is a reserved word.
> May be this is the circular reference ?
>
> It would be nice if that warning could show what it
> found as circular reference. Got it also several times.
>
>
> Ron
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list