comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » File Listings
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: File Listings [message #6944 is a reply to message #6816] Thu, 29 August 1996 00:00 Go to previous messageGo to previous message
kak is currently offline  kak
Messages: 16
Registered: February 1995
Junior Member
"Brian C. Ballard" <bballard@orionint.com> writes:

> RSI Tech support can not solve this, can you? My OS is UNIX (Sun Solaris
> 2.5), but I want my GUI to be portable to the PC.

Heh, heh, better ask in this group; it's cheaper anyway...

> ---- Problem Summary ----
> I don't know how to get directory listings under Win32.

I can't believe that RSI's techsupport did not know this or maybe
it's me and I did not get your point.

Just use
dir_entries = findfile('*.*',count=filecount) ; for Windoze

and you get a string array dir_entries with all file and directory
names in the current directory. Keyword count returns the number
of found files.

However, under UNIX the metachars are interpreted different.
I would simply stick with spawning a ls command in this case.

The Windoze common dialog box has another annoying quirk: it's
button label is fixed to "Open". This is confusing in
applications where you want to choose a filename for saving instead
of opening a file.
IDL would better introduce a keyword for OS_PICKFILE to set the
respective button label from outside.

Before constructing your own pickfile widget, I would consult the
searchable list of IDL routines at http://www.lpl.arizona.edu/idl.html
It contains the routines from all publicly available IDL libraries.
Perhaps someone else has already done your work.

Karl
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: directory tree
Next Topic: Question on using Emacs IDL-shell support with Wave 6.0

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 06:03:17 PDT 2025

Total time taken to generate the page: 0.16062 seconds