|
Is
eval amount2 = amount1 + + 500.00
legal?
Rephrased,
eval amount2 = amount1 + (+500.00)
which is different from
eval amount2 = amount1 + (-500.00)
I think it's taking the second + as a sign.
eval amount2 = amount1 *
* 500.00
I'm sure would bomb out, since * is not a sign.
Regards,
Jim Langston
-----Original Message-----
From: Peter_Vidal@pall.com [mailto:Peter_Vidal@pall.com]
Hi list.
Just for curiosity, but is this a valid statement?
c eval amount2 = amount1 +
c + 500.00
Notice that there are two "+" signs. The program works but ... just curious.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.