On 1/6/06, Roger Browne <[EMAIL PROTECTED]> wrote: > This PIR program: > > .sub 'main' :main > print_as_integer('-4') > print_as_integer('X-4') > print_as_integer('--4') > .end > > .sub 'print_as_integer' > .param string s > $I0 = s > print $I0 > print "\n" > .end > > produces this output: > > -4 > 0 > -4 > > I think the last line should be "0", but if anyone thinks that "-4" is > correct please say so before I report it as a bug... > looks like a bug to me. please report it. ~jerry
- Conversion of string to int (in PIR) Roger Browne
- Re: Conversion of string to int (in PIR) jerry gay
- Re: Conversion of string to int (in PIR) Leopold Toetsch
- Re: Conversion of string to int (in PIR) Roger Browne