[Gambas-devel] Error. with Analyze

Benoit Minisini gambas at ...1...
Sun Aug 22 21:59:42 CEST 2004


On Sunday 22 August 2004 23:28, Charlie Reinl wrote:
> Salut Banoit,
>
> see the following Error.
>
> with .Where it is a DataType  with .Raise a Function ???
>
>
> PRINT	2	Keyword
> "SetProperty: "	7	String
> ;	4	Operator
> Kind	5	Symbol
> ;	4	Operator
> "."	7	String
> ;	4	Operator
> sProp	5	Symbol
> ;	4	Operator
> ": "	7	String
> ;	4	Operator
> Error	11	DataType
> .	4	Operator
> Where	5	Symbol
> ;	4	Operator
> ": "	7	String
> ;	4	Operator
> Error	11	DataType
> .	4	Operator
> Text	5	Symbol
>  ----------------------------------------
> File :FTranslate.class
> Line : 81
> Org : ->      Error.Raise(("The 'msgmerge' command has failed"))<-
> New : ->      Error .Raise(("The 'msgmerge' command has failed"))<-
> -----------------------------------------------------------
> Error	3	Function
> .	4	Operator
> Raise	5	Symbol
> (	4	Operator
> (	4	Operator
> "The 'msgmerge' command has failed"	7	String
> )	4	Operator
> )	4	Operator
>  ----------------------------------------
>
> Amicalement
> Charlie
>
>

Yes, there is a clash between Error as a class, and Error as a sub-routine. 
Anyway, the Error sub-routine will disappear, and will be replaced by a 
keyword named ERROR, so you won't have this problem anymore!

Regards,

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




More information about the Devel mailing list