Results 1 to 5 of 5

Thread: Default Function return values

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2000
    Location
    Ireland
    Posts
    99
    Does a function whose return vale is "AS long" return a default value of 0.
    Im debugging a VBscript that has'nt set the return value (It named the variable wrongly)
    Thanks Folks
    Irish Mick

  2. #2
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    I definatly does in VB, and I'm pretty sure is does in VBS.

  3. #3
    Lively Member
    Join Date
    Feb 2000
    Posts
    120
    yes

    shachar shaty

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Nov 2000
    Location
    Ireland
    Posts
    99
    Cheers Lads

  5. #5
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Bellevue, WA, USA
    Posts
    1,357
    As far as I know, the default value of all numeric types is 0, Booleans is False, and Strings is "".
    ~seaweed

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