I have a small TEMP.PRG and I'm convinced I'm not dreaming

on error do trerror with sys(16),lineno(),message(1)
am1=9
am2=0
am3=am1/am2
replace qty_onhand WITH am3

My error routine tells me xerror(6) = replace qty_onhand WITH am

I've replaced this line with
replace qty_onhand WITH am3, desc with "12345"
My error routine tells me xerror(6) = replace qty_onhand WITH am3, dec
with "12345
(No "" at the end of the line)


On Thu, Aug 11, 2011 at 5:45 PM, Tracy Pearson <[email protected]> wrote:
> Sytze de Boer <[email protected]> wrote:
>
>>I thought I was going nuts
>>
>>Try this
>>myerror=ASTACKINFO(xerror)
>>?xerror(6)
>>
>>Please agree with me, it chops off the last character
>>
>>
> It is not truncating anything for me. I typed it into the command window, 
> highlighted the two lines, pressed enter.
> --
> Tracy Pearson
> PowerChurch Software
>
> Sent from my Android phone with K-9 Mail.
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cag1nny-oi9al-dra46cg1inpp7hyycdu97+ah_i8aj7xycj...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to