NoPrompt
It means that the parameter called NoPrompt is optional - it can be left
blank if desired. If the value is supplied by the calling procedure, e.g.
SaveNewJob(True), then the value of NoPrompt will be as specified at the time
of the call. If it is not specified, e.g. SaveNewJob, then the sub will use
the default value of False (the "= False" at the end of the parameter
specification is telling it what the default value for NoPrompt is if it is
not specified by the calling procedure)
--
- K Dales
"Oldjay" wrote:
What does the following code mean "(Optional NoPrompt As Boolean = False)" in
this line of code?
Sub SaveNewJob(Optional NoPrompt As Boolean = False)
|