Results 1 to 6 of 6

Thread: Optional in sub/functions(resolved)

Threaded View

  1. #1

    Thread Starter
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111

    Optional in sub/functions(resolved)

    Ok, when nothing is there it says Missing. What can I use in an if statement to check if it's not missing?

    like:

    VB Code:
    1. sub DoSomething(optional var)
    2. if var <> 'missing' then 'dosomething
    3. end sub
    Last edited by DiGiTaIErRoR; Sep 17th, 2002 at 05:12 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width