Talk:Farey sequence: Difference between revisions

m
→‎REXX program encoding: removed use of an implied double negative, don't ya know?
(→‎REXX program encoding: address issues with bytes vs. characters in Classic REXX source programs.)
m (→‎REXX program encoding: removed use of an implied double negative, don't ya know?)
Line 12:
I suspect the mechanism that is being used in saving (or downloading) the REXX program (file) from Rosetta Code is storing the character(s) of the extended ASCII (ASCII-8) as some flavor of Unicode, which Regina REXX is seeing as a two- or three-byte character. &nbsp; The extended-ASCII character that was being used is the 'cd'x (═) character (the horizontal double-line boxing character) from the Microsoft (DOS) code page 437 (which, I think, is probably the default code page in the USA). &nbsp; What you are showing (in the line with 10 +++ message) looks like a one-character (the 3<sup>rd</sup> argument for the '''center''' BUF), but the REXX program source file probably has a two-character field stored there, thereby incurring Regina REXX's wrath (as witnessed by it issuing the error message(s). -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 23:44, 1 April 2014 (UTC)
 
To address the 1<sup>st</sup> question: &nbsp; all Classic REXXes that I know of only support bytes, not Unicode characters. &nbsp; I'm not very familiar with Unixy thingys, so I don't know what can be specified (if anything) for Regina REXX regarding this issue. &nbsp; As far as I know, there isn'st nothinganything as far as REXX switches or environmental variables that will "fix" the above-mentioned problem; the only fix is to put in a ''single-byte'' character (which that 3<sup>rd</sup> argument is just essentially used for fodder for a line separator, a dash would work as well, ··· or a minus sign will do in a pinch --- but then it looks chintzy, and we can't have that.) -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 23:44, 1 April 2014 (UTC)
 
-----