come si specifica un valore comreso
es con maggiore e minore va tutto bene
codice:
<%
If bottiglie <6 Then
costi=9
ElseIf bottiglie >7 Then
costi=10
End If
%>
ma se volessi fare cosi non va
codice:
<%
If bottiglie <6 Then
costi=9
ElseIf bottiglie >7 and <12 Then
costi=10
ElseIf bottiglie >13 and <18 Then
costi=14
ElseIf bottiglie >19 and <36 Then
costi=18
ElseIf bottiglie >37 and <72 Then
costi=25
End If
%>
la pagina va in errore è sbagliato come è scritto?
come si dice che bottiglie è compreso tra due valori?