posible error en tgraph.ch

Post Reply
User avatar
Lautaro
Posts: 341
Joined: Fri Oct 07, 2005 2:44 pm
Location: Osorno, Chile
Contact:

posible error en tgraph.ch

Post 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

User avatar
Antonio Linares
Site Admin
Posts: 44515
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: posible error en tgraph.ch

Post by Antonio Linares »

Estimado Lautaro,

Cual es la diferencia ? Se ven iguales

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Lautaro
Posts: 341
Joined: Fri Oct 07, 2005 2:44 pm
Location: Osorno, Chile
Contact:

Re: posible error en tgraph.ch

Post 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

User avatar
Antonio Linares
Site Admin
Posts: 44515
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: posible error en tgraph.ch

Post by Antonio Linares »

Entendido y corregido 👍🏻

Muchas gracias!

regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply