Options

optional parameter

SogSog Member Posts: 1,023
Some functions in NAV have optional parameters (ex. setfilter(Field,String [, Value],...))
Now I'm wondering, how can one create his own functions with optional parameters?
|Pressing F1 is so much faster than opening your browser|
|To-Increase|

Answers

  • Options
    idiotidiot Member Posts: 651
    Do you mean you want to have the ability to specify different number of parameters for the same function?
    NAV - Norton Anti Virus

    ERP Consultant (not just Navision) & Navision challenger
  • Options
    SogSog Member Posts: 1,023
    yes
    |Pressing F1 is so much faster than opening your browser|
    |To-Increase|
  • Options
    BeliasBelias Member Posts: 2,998
    you can't! but you can pass '' (blank) as parameter and manage it, or use arrays...i know, it's not the same, but this is what we have
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.