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

Home » Public Forums » archive » Re: IDLWAVE routine info problem
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: IDLWAVE routine info problem [message #47469] Fri, 10 February 2006 09:30 Go to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Fri, 10 Feb 2006 03:43:08 -0800, lbusett@yahoo.it wrote:

> Hi all,
>
> I'm trying to install IDLWAVE on my windows XP PC, but I'm having
> some problems. I installed Xemacs (last version) and i also updated the
> IDLWAVE package to version 5.6, and all seems to work correctly until i
> try to use the help or the auto-completion function: the problem is that
> only some of the IDL procedures are "available".
>
> For example, if i write "d" and then "ESC + TAB" for autocompletion, i
> can't find the "DIALOG_PICKFILE" procedure(see below):
>
>> Possible completions are:
>> define_key dendro_plot dlm_load define_msgblk dendrogram
>> dlm_register define_msgblk_from_file device doc_library defsysv
>> dfpmin draw_roi
>> delvar dissolve
>
> The results are strange: for example, I can get "WIDGET_CONTROL", but not
> "WIDGET_BASE".
>
> What am I doing wrong ? Do i need to update in some way the routine-info
> files ? If so , how can I do it (I'm completely new with emacs/xemacs) ?

IDLWAVE understands the difference between procedures and functions.
You are trying to complete a procedure, whereas DIALOG_PICKFILE is a
function, so it doesn't show up in the list. Try:

f=dia[M-Tab]

and DIALOG_PICKFILE should show up. IDLWAVE actually understands the
completion context of many different things. The current list is (for
point at the `_'):

plo_ Procedure
x = a_ Function
plot,xra_ Keyword of plot procedure
plot,x,y,/x_ Keyword of plot procedure
plot,min(_ Keyword of min function
obj -> a_ Object method (procedure)
a[2,3] = obj -> a_ Object method (function)
x = obj_new('IDL_ Class name
x = obj_new('MyCl',a_ Keyword to Init method in class MyCl
pro A_ Class name
pro _ Fill in Class:: of first method in this file
!v_ System variable
!version.t_ Structure tag of system variable
self.g_ Class structure tag in methods
state.w_ Structure tag, if tag completion enabled
name = 'a_ File name (default inside quotes)


You can also force the IDLWAVE completion context, e.g. using the menu
IDLWAVE->Complete->Complete Specific. Of course, if you complete
DIALOG_PICKFILE as a function but call it as a procedure, IDL will
complain and it won't work. Usually IDLWAVE knows best.

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL java bridge on Windows
Next Topic: iTools opinions

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

Current Time: Fri Oct 10 00:42:34 PDT 2025

Total time taken to generate the page: 0.00475 seconds