bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

associative arrays get entries added, apparently from test


From: Marcus G. Daniels
Subject: associative arrays get entries added, apparently from test
Date: Wed, 30 Nov 2005 14:26:16 -0700
User-agent: Thunderbird 1.0+ (Windows/20050803)

Hello,

If the script `test' in the attached archive is run, the result "should not happen" is reported. The cause seems to be the line "if (origNames[peptide])" which has the side-effect of adding an entry in the iteration over origNames in the END clause. In other words, the associative array `origNames' gets extra entries added that it should not.

Please let me know if this explanation isn't clear.

Best,

Marcus Daniels

Attachment: merge-peptides-err.tar.gz
Description: application/gzip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]