Loading ...
Sorry, an error occurred while loading the content.

Re: [Clip] Re: New Syntax of ^$Calc$ in Ntb 7.01

Expand Messages
  • Eric Fookes
    Hi Flo, ... Thanks for this info. This issue will be fixed in the next maintenance release... -- Regards, Eric Fookes http://www.fookes.com/
    Message 1 of 22 , Sep 10, 2012
    • 0 Attachment
      Hi Flo,

      > I had to edit clips executing something like this...
      >
      > ^!Set %OldDateValue%=^$GetDateToInt(1.8.2012;d.m.yyyy)$
      > ^!Set %NewDateValue%=^$Calc(^%OldDateValue%+10)$
      > ^!Info New date value is ^%NewDateValue%
      > ^!Info New date is = ^$GetDateFromInt(^%NewDateValue%;d.m.yyyy)$
      >
      > ^$GetDateFromInt$ can't calculate a date value integer like '41.132'. For me, it works fine when changing line #2 to...
      >
      > ^!Set %NewDateValue%=^$Calc(^%OldDateValue%+10;.)$

      Thanks for this info. This issue will be fixed in the next maintenance
      release...

      --
      Regards,

      Eric Fookes
      http://www.fookes.com/
    Your message has been successfully submitted and would be delivered to recipients shortly.