SKILL defUserInitProc Q.

Discussion in 'Cadence' started by Bernd Fischer, Nov 24, 2003.

  1. 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 Fischer, Nov 24, 2003
    #1
  2. 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.
     
    Andrew Beckett, Nov 24, 2003
    #2
  3. Thanks Andrew, while sleeping one night over the problem I came
    exactly to the sam conclusion.

    Thanks Bernd
     
    Bernd Fischer, Nov 25, 2003
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.