Results 1 to 2 of 2

Thread: Variables

  1. #1
    Join Date
    Dec 1969

    Default Variables

    &#060;% <BR> Dim x, y <BR> y = "5" <BR> For x = 1 to 10 <BR> If x = y then <BR> Response.write "Match found!" <BR> Else <BR> Response.write "No match found." <BR> End If <BR> Next <BR>%&#062; <BR> <BR> <BR> Referring to the above, why will "Match found!" never be written to the page? <BR>Choice 1 <BR> The Response.write statement needs parentheses. <BR>Choice 2 <BR> You cannot dimension more than one variable per line. <BR>Choice 3 <BR> x is an integer; y is a string. <BR>Choice 4 <BR> A loop statement is needed. <BR>Choice 5 <BR> "Match" is the name of a function. <BR>

  2. #2
    mark Guest

    Default RE: Variables

    i guess choice3

Posting Permissions

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