Re: [sword-devel] InstallSize

2019-02-23 Thread Karl Kleinpaste
On 2/23/19 2:30 PM, DM Smith wrote: > In C the common routine is atoi atoi() is a special case of strtol(), which still doesn't understand punctuation in any context. Sword takes no interest in InstallSize. It's just another random textual header that a frontend can request; what happens with it

Re: [sword-devel] InstallSize

2019-02-23 Thread DM Smith
Same answer. No punctuation. No other scripts (e.g. arabic). Just a sequence of 0-9. JSword uses it in its install manager to build a progress meter. BTW, In C the common routine is atoi, which stops on the first non-digit. So your example would come back as 1. > On Feb 23, 2019, at 2:24 PM,

Re: [sword-devel] InstallSize

2019-02-23 Thread David Haslam
Typo correction. Both separators should have been keyed as a comma. > InstallSize=1,744,408 Sent from ProtonMail Mobile On Sat, Feb 23, 2019 at 19:21, DM Smith wrote: > JSword would. It uses a parser to convert it from a string to an integer and > it doesn’t understand that format. > >> On

Re: [sword-devel] InstallSize

2019-02-23 Thread DM Smith
JSword would. It uses a parser to convert it from a string to an integer and it doesn’t understand that format. > On Feb 23, 2019, at 10:00 AM, David Haslam wrote: > > Would SWORD baulk if the InstallSize key contained commas as thousands > separators? e.g. > > InstallSize=1,744.408 > >

[sword-devel] InstallSize

2019-02-23 Thread David Haslam
Would SWORD baulk if the InstallSize key contained commas as thousands separators? e.g. InstallSize=1,744.408 David Sent from ProtonMail Mobile___ sword-devel mailing list: sword-devel@crosswire.org

[sword-devel] Converting VPL format Bibles to USFM

2019-02-23 Thread David Haslam
FYI - several years ago - I made simple TextPipe filter to convert a Bible that is in VPL format (single text file) to USFM format (one file per book). If such a task needs doing for anyone on the mailing list, please contact me. The booknames are added as per English KJV but these can be

Re: [sword-devel] Gladiolus

2019-02-23 Thread David Haslam
Or choose the name for a new front-end app (tongue in cheek) like Xiphos ? Sent from ProtonMail Mobile On Sat, Feb 23, 2019 at 07:58, Teus Benschop wrote: > It was lib"SWORD" which was in the question. Wanna rename the library? :) > > On Fri, 22 Feb 2019 at 23:30 David Haslam wrote: > >>