Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
S: catching the output of help,/mem into variable-programm ???
Hello as the topic says: I want to catch the output of help,/mem in an variable... is that possible... ??? any hint needed Panther
Re: S: catching the output of help,/mem into variable-programm ???
davidf@dfanning.com (David Fanning) writes: > Panther writes: >> I want to catch the output of help,/mem in an variable... >> is that possible??? > No....well, probably not. (I've been getting into too > much trouble lately.) > :-) > David hey... what about a little call_external to C and smurf arround with IDL_HELP() or some thing like that... NEVER SAY NEVER... Panther ('s Guide to IDL ?)
On 28 Jan 1997, HSR Sys-Admin wrote: > I want to catch the output of help,/mem in an variable... > is that possible... > ??? Yes, it's possible, but you have to be really, really keen... HELP,/MEM doesn't even write its output to a JOURNAL file, so the only way I can think of to catch its output is to redirect stdout when you start IDL, e.g., idl > delete.me Then you'd have to open delete.me (read only) and search for and parse HELP,/MEM's output. (It might help to PRINT something just before you issue HELP,/MEM, to make its output easier to find. Also, setting !QUIET=1 might help to reduce the amount of junk to search through.) I mean, it's a daft solution, but there it is. Peter Mason