<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Calibri">Your code is trying to subtract "6" from the
      current month (which is 4 April).<br>
      @td returns MM/DD/YY<br>
    </font><br>
    <div class="moz-cite-prefix">On 4/13/2017 12:12 PM, Robert Repko via
      Filepro-list wrote:<br>
    </div>
    <blockquote
      cite="mid:8177d376eac84f49be430f912d3415fe@xchange.r2.local"
      type="cite">
      <pre wrap="">Sorry, I sent the message by accident

Running filePro 5.7.00.04R4 on SCO Unix 5.0.7
In a processing table I assign a numeric value to a variable based on the month of a date (@td).  I'm getting /O in that variable
When debugging the processing table I get /OV when I press 'f' for field and enter @td.
Processing lines:
pe(2,.0)=mid(@td,"1","2")-"6"

The Unix system date is correct.
@dt gives me the correct date.

Any ideas why I am getting the error on @td
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-rfc2396E" href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20170413/b908cab9/attachment.html"><http://mailman.celestial.com/pipermail/filepro-list/attachments/20170413/b908cab9/attachment.html></a>
_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
Subscribe/Unsubscribe/Subscription Changes
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>