Using the > sign

Results 1 to 2 of 2

Thread: Using the > sign

  1. #1
    Join Date
    Dec 1969

    Default Using the > sign

    Ok, here&#039s the code:<BR>If var1 &#062; var2 then<BR> response.redirect "error.html"<BR>end if<BR><BR>Unfortunately it&#039s just not working properly. It&#039s redirecting no matter what. I don&#039t have quotes around the variables or anything. Any help would be appreciated. Thanks!

  2. #2
    Join Date
    Dec 1969

    Default RE: Using the > sign

    The most likely thing I can think of is that your code is regarding the variables to be of a data type that you don&#039t intend. If var1 and var2 are integers try explicitly converting them:<BR><BR>If CInt(var1) &#062; CInt(var2) Then<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