Euphoria Ticket #629: A peek to obtain a list of strings from a double null terminated list

A suggestion for Euphoria 4.1

On Windows systems there are a few APIs which accept and/or return a list of strings, usually file names. Each string is terminated by a NULL and the list is terminated by two NULLs.

An example which shows the retrieval of a file list is in the function getOpenFileName in w32file.ew; part of win32lib. Although it is easy enough to code this as required, perhaps there should be a peek function for it, if only for completeness.

A corresponding poke would also be appropriate although allocation of a list of strings only requires

ptr = allocate_string(join(string_list,0)&0) 


Type: Feature Request Severity: Minor Category: Library Routine
Assigned To: unknown Status: New Reported Release: 4.0.0
Fixed in SVN #: View VCS: none Milestone:


Quick Links

User menu

Not signed in.

Misc Menu