Talk:UPC: Difference between revisions

From Rosetta Code
Content added Content deleted
(Created page with "== go implementation == The go implementation currently doesn't quite accomplish the specified -- if I use the specified examples, I get invalid format when there are not exa...")
 
(Added comment.)
Line 2: Line 2:


The go implementation currently doesn't quite accomplish the specified -- if I use the specified examples, I get invalid format when there are not exactly 9 spaces in the "quiet zone". This should be trivial to fix (just ignore the size of the quiet zone). --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 21:54, 25 November 2019 (UTC)
The go implementation currently doesn't quite accomplish the specified -- if I use the specified examples, I get invalid format when there are not exactly 9 spaces in the "quiet zone". This should be trivial to fix (just ignore the size of the quiet zone). --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 21:54, 25 November 2019 (UTC)

:I thought you meant that you'd started with 9 (or more) spaces but RC might not have faithfully reproduced that. Anyway, I've fixed it in the way you suggested and also improved the error reporting somewhat. --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 22:47, 25 November 2019 (UTC)

Revision as of 22:47, 25 November 2019

go implementation

The go implementation currently doesn't quite accomplish the specified -- if I use the specified examples, I get invalid format when there are not exactly 9 spaces in the "quiet zone". This should be trivial to fix (just ignore the size of the quiet zone). --Rdm (talk) 21:54, 25 November 2019 (UTC)

I thought you meant that you'd started with 9 (or more) spaces but RC might not have faithfully reproduced that. Anyway, I've fixed it in the way you suggested and also improved the error reporting somewhat. --PureFox (talk) 22:47, 25 November 2019 (UTC)