>>#DEFINE TaxAmount _0lO1Ol >>#DEFINE InvoiceSubTotal _0lOlOl >>#DEFINE TaxPercentage _0lO1O1 >> >>* At runtime, set the values to whatever you want, >>* or get a return value from a function, or pass them in as parameters, ... >>InvoiceSubTotal = 25 >>TaxPercentage = 0.12 >> >>TaxAmount = InvoiceSubTotal * TaxPercentage >> >>?TaxAmount && 3 >>>>
>#DEFINE TaxAmount _0lO1Ol >#DEFINE InvoiceSubTotal _0lOlOl >#DEFINE TaxPercentage _0lO1O1 > >CLEAR > >* At runtime, set the values to whatever you want, >* or get a return value from a function, or pass them in as parameters, ... >InvoiceSubTotal = 25 && Doesn't this equate to _0lO1Ol = 25 >? _0lO1Ol && but this generates an error > >TaxPercentage = 0.12 && Doesn't this also equate to _0lO1Ol = 25 >? _0lO1Ol && but this generates an error > >TaxAmount = InvoiceSubTotal * TaxPercentage >&& Shouldn't this equate to _0lO1Ol = _0lO1Ol * _0lO1Ol >&& or expand to _0lO1Ol = .12 * .12 > >? taxamount >?invoicesubtotal >?taxpercentage >? _0lO1Ol >>