[Gambas-user] Coding problem / bug ?

ron ronstk at ...239...
Sat May 12 15:11:23 CEST 2007


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




More information about the User mailing list