Page 1 of 1

posible error en tgraph.ch

Posted: Sun Jun 07, 2026 11:18 pm
by Lautaro

Estimados ,

En tgraph.ch

Code: Select all | Expand

#xcommand ADD SERIE TO <oGraph> ;
             [ <series: SERIE> <aSerie,...> ] ;
             [ LEGEND <cLegend> ] ;
	     [ COLOR <nClr> ] ;
      =>;
           oGraph:AddSerie( [<aSerie>], <cLegend>, <nClr> )

#xcommand SET Y LABELS OF <oGraph> ;
             TO <ayLabels,...>;
      =>;
           oGraph:SetYVals( <ayLabels> )


Creo deberia ser :

Code: Select all | Expand

#xcommand ADD SERIE TO <oGraph> ;
             [ <series: SERIE> <aSerie,...> ] ;
             [ LEGEND <cLegend> ] ;
	     [ COLOR <nClr> ] ;
      =>;
           <oGraph>:AddSerie( [<aSerie>], <cLegend>, <nClr> )

#xcommand SET Y LABELS OF <oGraph> ;
             TO <ayLabels,...>;
      =>;
           <oGraph>:SetYVals( <ayLabels> )


Saludos

Lautaro


Re: posible error en tgraph.ch

Posted: Mon Jun 08, 2026 3:19 am
by Antonio Linares

Estimado Lautaro,

Cual es la diferencia ? Se ven iguales


Re: posible error en tgraph.ch

Posted: Mon Jun 08, 2026 12:30 pm
by Lautaro

Hola Antonio,

La diferencia es <> que encierran a oGraph en la sentencia : ... => <oGraph>:... , si no se ponen los <> , no usa el nombre de la variable luego de preprocesar, si no que anota oGraph como nombre de la variable.

Segun las versiones de fivewin que tengo, eso esa asi desde hace muuucho.

Me tomo varias horas encontrar por que tenia un error de variable oGraph no existe ...

Espero ayudar a que otro no tenga este problema.

Saludos,

Lautaro


Re: posible error en tgraph.ch

Posted: Tue Jun 09, 2026 6:03 am
by Antonio Linares

Entendido y corregido 👍🏻

Muchas gracias!