function return value

Results 1 to 2 of 2

Thread: function return value

  1. #1
    Join Date
    Dec 1969

    Default function return value

    i am calling this function . why wuldnt it return me any value when my reques.form does have a value. <BR><BR>DIM EMail<BR> Email =checkvali(Request.Form("EMail"))<BR><BR> function checkvali(x)<BR> Email=x<BR><BR><BR> end function<BR>response.write(Email)<BR><BR><BR>thnxx x<BR>

  2. #2
    Use MyFunctionName = ... Guest

    Default RE: function return value

    You&#039re checkvali function has no statement to return anything. Perhaps try something like the following:<BR><BR>function checkvali(x) <BR> checkvali = x <BR>end function<BR><BR>Best regards,<BR>-Paul<BR><BR>J. Paul Schmidt, MBA<BR>Databases on the Web<BR><BR><BR>

Posting Permissions

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