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

Home » Public Forums » archive » GETHELP function -- where can I find it?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
GETHELP function -- where can I find it? [message #4077] Tue, 25 April 1995 00:00 Go to next message
Russ Welti is currently offline  Russ Welti
Messages: 27
Registered: October 1994
Junior Member
Last week I posted asking about a way to get HELP info on a
variable returned as a string array:

> Does anyone know if I can get the normal HELP info on
> just a simple variable back similarly, as in:

> help,var=var or maybe help,/stru,struct=some_struct

I found my own answer, in the GETHELP function, in 3.6.1.

HOWEVER, it won't run. Does anyone have a working GETHELP
function?

The documentation says I can do this, but:

IDL> a=gethelp()

a=gethelp()
^
% Syntax error.
IDL> print,filepath('gethelp')
% Compiled module: FILEPATH.
/opt/idl/gethelp
IDL> $ls /opt/idl/gethelp*
/opt/idl/gethelp*: No such file or directory

The 4.0 beta help system says the file is in "the lib subdirectory
of the IDL distribution". I can find no source file for GETHELP
*anywhere* on my machine.

Does anyone have a copy of it I can get?

Thanks much,

Russ Welti
UW -- Seattle, WA
rwelti@u.washington.edu
Re: GETHELP function -- where can I find it? [message #4111 is a reply to message #4077] Thu, 04 May 1995 00:00 Go to previous message
Fergus Gallagher is currently offline  Fergus Gallagher
Messages: 41
Registered: January 1995
Member
Russ Welti <rwelti@u.washington.edu> wrote:
> Last week I posted asking about a way to get HELP info on a
> variable returned as a string array:
>
>> Does anyone know if I can get the normal HELP info on
>> just a simple variable back similarly, as in:
>
>> help,var=var or maybe help,/stru,struct=some_struct
>
> I found my own answer, in the GETHELP function, in 3.6.1.
>
> HOWEVER, it won't run. Does anyone have a working GETHELP
> function?
>
> The documentation says I can do this, but:
>
> IDL> a=gethelp()
>
> a=gethelp()
> ^
> % Syntax error.
> IDL> print,filepath('gethelp')
> % Compiled module: FILEPATH.
> /opt/idl/gethelp
> IDL> $ls /opt/idl/gethelp*
> /opt/idl/gethelp*: No such file or directory
>
> The 4.0 beta help system says the file is in "the lib subdirectory
> of the IDL distribution". I can find no source file for GETHELP
> *anywhere* on my machine.
>
> Does anyone have a copy of it I can get?
>
> Thanks much,
>

Firstly, FILEPATH('xxxx') returns $IDL_DIR/xxxx even if xxxx doesn't
exist.

Secondly, GETHELP could be a IDL primitive, and hence it need not have a
file associated with it.

Lastly, I said that I was TOLD that GETHELP would be included in IDL 4.0.

In the meantime, try the following:

function gethelp,x
if breakdown(x)='imminent' then begin
print,'Please do not rely on beta versions'
end
return,string(randomu(seed,100))
end

You're welcome much.

Fergus


=================================================
| Fergus Gallagher |
| Remote Sensing Applications Development Unit |
| British National Space Centre |
| Monks Wood |
| Huntingdon PE17 2LS / UK |
| |
| F.Gallagher@nerc.ac.uk |
| http://uh.nmt.ac.uk/bnsc/fgg.html |
=================================================
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: [Q] MathLink connection with IDL
Next Topic: Idl 3.6.1a And Solaris 2.4

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

Current Time: Wed Oct 08 19:10:09 PDT 2025

Total time taken to generate the page: 0.00737 seconds