SKILL defUserInitProc Q.

B

Bernd Fischer

Guest
Hi,

I want to use defUserInitProc for a function that
has to call two args.

e.g.

procedure( initMyContext( arg1 arg2 )
....
)

How can I then call the function initMyContext
in the defUserInitProc function and how can I
spupply the arguments.

defUserInitProc( "myContext" 'initMyContext ??? )

Thanks Bernd
 
Bernd,

You can't (I'm pretty certain). Why would you want to, rather than just wrapping
up the call in another function definition which has the correct number of
arguments, and then using defUserInitProc with that?

Regards,

Andrew.

On Mon, 24 Nov 2003 18:17:45 +0100, Bernd Fischer <bernd.fischer@xignal.de>
wrote:

Hi,

I want to use defUserInitProc for a function that
has to call two args.

e.g.

procedure( initMyContext( arg1 arg2 )
...
)

How can I then call the function initMyContext
in the defUserInitProc function and how can I
spupply the arguments.

defUserInitProc( "myContext" 'initMyContext ??? )

Thanks Bernd
--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd
 
Thanks Andrew, while sleeping one night over the problem I came
exactly to the sam conclusion.

Thanks Bernd

Andrew Beckett wrote:
Bernd,

You can't (I'm pretty certain). Why would you want to, rather than just wrapping
up the call in another function definition which has the correct number of
arguments, and then using defUserInitProc with that?

Regards,

Andrew.

On Mon, 24 Nov 2003 18:17:45 +0100, Bernd Fischer <bernd.fischer@xignal.de
wrote:


Hi,

I want to use defUserInitProc for a function that
has to call two args.

e.g.

procedure( initMyContext( arg1 arg2 )
...
)

How can I then call the function initMyContext
in the defUserInitProc function and how can I
spupply the arguments.

defUserInitProc( "myContext" 'initMyContext ??? )

Thanks Bernd


--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd
 

Welcome to EDABoard.com

Sponsor

Back
Top