#606 charout of empty string gives bad result

v4.0beta
closed
5
2012-08-14
2009-04-14
No

Writing an empty string to a file, as in:

file='tsmp.txt'
call charout file, ''
say result

Gives a bad result (e.g., -2129560584) but should give 0.

(I don't have many of these, so working around at present.)

Discussion

  • Rick McGuire

    Rick McGuire - 2009-04-14

    Committed revision 4373.

    Thanks Mike

     
  • Mike Cowlishaw

    Mike Cowlishaw - 2009-04-16

    Confirmed fixed -- many thanks.

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks