[Gambas-devel] LineAnalyze

Benoit Minisini gambas at ...1...
Wed Aug 18 19:45:07 CEST 2004


On Tuesday 17 August 2004 23:27, Charlie Reinl wrote:
> Salut Benoit,
>
> why LINE is a Keyword
>
> Draw.LineStyle = LINE.Dash
>
> Output :
> 		Draw	5	Symbol
> 		.	4	Operator
> 		LineStyle	5	Symbol
> 		=	4	Operator
> 		LINE	2	Keyword
> 		.	4	Operator
> 		Dash	5	Symbol
>
> After my testings on a copy from gambas
>             CASE "."
>                 sBlank = ""
>                 IF nI > 0 THEN
>                     IF iPart[nI - 1] <> 5 AND sPart[nI - 1] <> "LINE" THEN
>                     sBlank = " "
>                 ENDIF
>             ENDIF
>
> to cache also that
>
> 	IF .Count = 0 THEN RETURN
>
> Amicalement
> Charlie
>

Analyze() is not intelligent enough :-)

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the Devel mailing list