Così funziona:
FOR xxx = 1 TO 5
IF xxx=4 THEN
Response.Write("OK!")
END IF
NEXT
Così invece NO:
variabiledaflash = (Request("variabiledaflash"))
FOR xxx = 1 TO 5
IF xxx=variabiledaflash THEN
Response.Write("OK!")
END IF
NEXT
Sapete dirmi perchè?
Così funziona:
FOR xxx = 1 TO 5
IF xxx=4 THEN
Response.Write("OK!")
END IF
NEXT
Così invece NO:
variabiledaflash = (Request("variabiledaflash"))
FOR xxx = 1 TO 5
IF xxx=variabiledaflash THEN
Response.Write("OK!")
END IF
NEXT
Sapete dirmi perchè?
Where there is a will, there is a way
codice:IF xxx=CInt(variabiledaflash) THEN Response.Write("OK!") END IF
Roby
www.creamweb.it [v. 3.0]
:: Script ASP!
:: Web directory gratuita!
:: Campioni del mondo!
Perfetto! GRAZIE!!
Un'ultima cosa: c'è un comando per uscire dal FOR-NEXT ? (tipo l'EXIT FOR di Visual Basic)
Where there is a will, there is a way
exit for![]()
Roby
www.creamweb.it [v. 3.0]
:: Script ASP!
:: Web directory gratuita!
:: Campioni del mondo!
eh eh eh![]()
Where there is a will, there is a way