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

Home » Public Forums » archive » Call_Function() fail?
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
Call_Function() fail? [message #77744] Tue, 20 September 2011 14:26
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
Hi,

I can't imagine why, but Call_Function() is failing to call the new
'IDLffVideoWrite' function.

You see, I was trying to write a backward-compatible video-dumping
routine that would at least compile under pre-8.1, and would use
MPEG_OPEN or IDLffVideoWrite as appropriate. So to hide the
uncompilable function from compilation, I want to use Call_Function().

In IDL 8.1:

IDL> oVid =IDLffVideoWrite('test3.mp4')
% Loaded DLM: VIDEO.
IDL> help,oVid
OVID OBJREF = <ObjHeapVar1(IDLFFVIDEOWRITE)>
IDL> oVid = Call_Function('IDLffVideoWrite', 'test3.mp4')
% Attempt to call undefined procedure/function: 'IDLFFVIDEOWRITE'.
% Execution halted at: $MAIN$

Anyone else have trouble like this with new functions? OK, that's bad
enough. What's worse... if I do the Call_Function() attempt first, it
won't even work the regular way!

IDL> .FULL_RESET_SESSION
IDL> oVid = Call_Function('IDLffVideoWrite', 'test3.mp4')
% Attempt to call undefined procedure/function: 'IDLFFVIDEOWRITE'.
% Execution halted at: $MAIN$
IDL> oVid =IDLffVideoWrite('test3.mp4')
% Attempt to call undefined procedure/function: 'IDLFFVIDEOWRITE'.
% Execution halted at: $MAIN$

Cheers,
-Dick

Dick Jackson Software Consulting
Victoria, BC, Canada
www.d-jackson.com
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Colors in Function Graphics?
Next Topic: Function Graphics Map Projection Woes

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

Current Time: Thu Oct 09 22:00:35 PDT 2025

Total time taken to generate the page: 1.28317 seconds