Thanks Miyako and Nigel for your prompt replies.

> On Mar 9, 2017,Keisuke Miyako <keisuke.miy...@4d.com 
> <mailto:keisuke.miy...@4d.com>> wrote:
> 
> there is no need to even open the file, let alone parse it with native 4D 
> commands.

Miyako, rather than creating an array of the strings within a designated list, 
I want to create arrays of the string list ids and resnames analogous to the 
results of "RESOURCE LIST (“STR#”; ResIDs_an;ResNames_at)".  My existing DBs 
rely on these arrays to reference the strings within each list.  

> On Mar 9, 2017,Nigel Greenlee <nigel.green...@me.com 
> <mailto:nigel.green...@me.com>> wrote:
> 
> I don’t have an exact solution for you. but the following might give you some 
> pointers on the way to go. I got this code from the 4DBB-I DID NOT WRITE IT 
> MYSELF. it extracts all the 4D constants from the constants xliff file.


Nigel, with a bit of tinkering and lots of testing in the debugger I have 
gotten a variant of the code you posted to work.  In its raw state it is 
already adequate for my immediate purposes, with converted DBs.  But I intend 
to tweak it a bit more so that it can locate the Resource folder in 4dbase 
packages as well.  Mañana.  When it has a bit more polish I will post my code, 
just in case it may be of some use to others.  

Thanks again to both of you.

Steven Prins
Santa Fe, NM
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to