Book a Demo

Author Topic: Numeric expressions in code templates  (Read 2677 times)

Thomas Mayr

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Numeric expressions in code templates
« on: December 05, 2008, 10:33:44 pm »
Hi,

I'm looking for a posibilty to create numeric expressions in code templates e.g.:

$notes = %opNotes%
$wrap = %genOptWrapComment% - 7
%WRAP_COMMENT($notes, $wrap, " ", "* ")%

But this doesn't work.

Is there an elegant posibility to do what I want?

Thomas

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Numeric expressions in code templates
« Reply #1 on: December 08, 2008, 07:56:40 am »
No, unfortunately code templates don't have any arithmetic functions at all.