[GiDlist] .bas file problems

Moderator: GiD Team

Post Reply
Mark Smith

[GiDlist] .bas file problems

Post by Mark Smith »

Enrique
Thanks again for the prompt reply, unfortunately what you say is only part
of the answer. It appears that none of the variables a1 b1 m1 etc are
treated correctly. If I replace a1 by aa b1 by bb etc everything goes as
expected.
Maybe best not to have a mixture of alpha and numeric for variable manes?

Regards
Mark

-----Original Message-----
From: Enrique Escolano [mailto:escolano at cimne.upc.es]
Sent: 27 May 2002 21:32
To: gidlist at gatxan.cimne.upc.es
Subject: Re: [GiDlist] .bas file problems


This is bug of GiD parsing the condition if(z=e1)
the variable e1 is evaluated incorrectly as a exponential number 0e1, not
as the variable named e1,
and the result is only true if z=0

This bug is corrected for the next GiD version.

You can avoid this bug if not use names as e"number" (e1, e206, etc) for the
variables.

Thanks for your report.

Enrique Escolano

----- Original Message -----
From: "Mark Smith" mailto:mark.smith at linx.co.uk mark.smith at linx.co.uk
To: "Gidlist (E-mail)" mailto:gidlist at gatxan.cimne.upc.es
gidlist at gatxan.cimne.upc.es
Sent: Friday, May 24, 2002 4:38 PM
Subject: [GiDlist] .bas file problems


Win98 GiD 6.3.0b

Dear GiD team & users

I'm having some problems with unexpected behaviour of *if *else *elseif
etc
can you have a look at the attached code and tell me why the output is not
as expected

rgbtest.bas = sample code

rgb.txt = output of .bas code

expected.txt what I expect the output to be ( done in mathcad)


expected.txt RGBtest.bas rgb.txt

Regards
Mark





--------------------------------------------------------------------------

Linx Printing Technologies plc
+44 (0)1480302100
http://www.linx.co.uk/ http://www.linx.co.uk/
This e-mail may contain privileged/confidential information and may be
read, copied and used only by the intended recipient. If you have received
it in error, please contact the sender by return e-mail or by
telephoning +44 (0)1480 302100.
Please then delete the e-mail and do not disclose its contents to any
person.

Any information in this message that does not relate to the official
business of Linx shall be understood as neither given nor endorsed by
Linx.
We reserve the right to monitor all e-mail communications through our
internal and external networks.
--------------------------------------------------------------------------







--------------------------------------------------------------------------
Linx Printing Technologies plc
+44 (0)1480302100
http://www.linx.co.uk/
This e-mail may contain privileged/confidential information and may be
read, copied and used only by the intended recipient. If you have received
it in error, please contact the sender by return e-mail or by
telephoning +44 (0)1480 302100.
Please then delete the e-mail and do not disclose its contents to any
person.

Any information in this message that does not relate to the official
business of Linx shall be understood as neither given nor endorsed by Linx.
We reserve the right to monitor all e-mail communications through our
internal and external networks.
--------------------------------------------------------------------------
Enrique Escolano

[GiDlist] .bas file problems

Post by Enrique Escolano »

With GiD 7.0-Beta2 only fail case with variable name e"number",
but with your GiD 6.3.0b version there is some problem more with the
varnames.

----- Original Message -----
From: "Mark Smith" mark.smith at linx.co.uk
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, May 28, 2002 11:05 AM
Subject: RE: [GiDlist] .bas file problems


Enrique
Thanks again for the prompt reply, unfortunately what you say is only part
of the answer. It appears that none of the variables a1 b1 m1 etc are
treated correctly. If I replace a1 by aa b1 by bb etc everything goes as
expected.
Maybe best not to have a mixture of alpha and numeric for variable manes?

Regards
Mark

-----Original Message-----
From: Enrique Escolano [mailto:escolano at cimne.upc.es]
Sent: 27 May 2002 21:32
To: gidlist at gatxan.cimne.upc.es
Subject: Re: [GiDlist] .bas file problems


This is bug of GiD parsing the condition if(z=e1)
the variable e1 is evaluated incorrectly as a exponential number 0e1, not
as the variable named e1,
and the result is only true if z=0

This bug is corrected for the next GiD version.

You can avoid this bug if not use names as e"number" (e1, e206, etc) for
the
variables.

Thanks for your report.

Enrique Escolano

----- Original Message -----
From: "Mark Smith" mailto:mark.smith at linx.co.uk
mark.smith at linx.co.uk
To: "Gidlist (E-mail)" mailto:gidlist at gatxan.cimne.upc.es
gidlist at gatxan.cimne.upc.es
Sent: Friday, May 24, 2002 4:38 PM
Subject: [GiDlist] .bas file problems


Win98 GiD 6.3.0b

Dear GiD team & users

I'm having some problems with unexpected behaviour of *if *else *elseif
etc
can you have a look at the attached code and tell me why the output is
not
as expected

rgbtest.bas = sample code

rgb.txt = output of .bas code

expected.txt what I expect the output to be ( done in mathcad)


expected.txt RGBtest.bas rgb.txt

Regards
Mark






--------------------------------------------------------------------------

Linx Printing Technologies plc
+44 (0)1480302100
http://www.linx.co.uk/ http://www.linx.co.uk/
This e-mail may contain privileged/confidential information and may be
read, copied and used only by the intended recipient. If you have
received
it in error, please contact the sender by return e-mail or by
telephoning +44 (0)1480 302100.
Please then delete the e-mail and do not disclose its contents to any
person.

Any information in this message that does not relate to the official
business of Linx shall be understood as neither given nor endorsed by
Linx.
We reserve the right to monitor all e-mail communications through our
internal and external networks.

--------------------------------------------------------------------------







--------------------------------------------------------------------------
Linx Printing Technologies plc
+44 (0)1480302100
http://www.linx.co.uk/
This e-mail may contain privileged/confidential information and may be
read, copied and used only by the intended recipient. If you have received
it in error, please contact the sender by return e-mail or by
telephoning +44 (0)1480 302100.
Please then delete the e-mail and do not disclose its contents to any
person.

Any information in this message that does not relate to the official
business of Linx shall be understood as neither given nor endorsed by
Linx.
We reserve the right to monitor all e-mail communications through our
internal and external networks.
--------------------------------------------------------------------------



_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist

Post Reply