chr( string) error

Results 1 to 2 of 2

Thread: chr( string) error

  1. #1
    Join Date
    Dec 1969

    Default chr( string) error

    I am trying to convert a number to a letter with the following syntex:<BR>Response.Write("<BR>chr(strInnerPwd) is:" & Chr( strInnerPwd ))<BR><BR>but keep getting this error:<BR>Microsoft VBScript runtime error &#039;800a0005&#039; <BR>Invalid procedure call or argument: &#039;Chr&#039; <BR><BR>I thought Chr( anumberher ) will return the character value? <BR>Any thoughts?<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: chr( string) error

    Asc("A") = 65<BR>Chr(65)= "A"<BR><BR>Chr("A") = Error Invalid Procedure call or argument

Posting Permissions

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