<%@ Language=VBscript %> <% Option Explicit Dim arrDays (6) , iIndex %> <html> <body> <% iIndex = 3 arrDays (0) = "ראשון" arrDays (1) = "שני" arrDays (2) = "שלישי" arrDays (3) = "רבעי" arrDays (4) = "חמישי" arrDays (5) = "שישי" arrDays (6) = "שבת" Response.Write ("iIndex has a value of ") Response.Write (iIndex) %> <BR> arrDays (1) has a value of <% Response.Write (arrDays (iIndex)) %> <BR> arrDays (2+3) has a value of <% Response.Write (arrDays (2+3) ) %> <BR> arrDays (iIndex+1) has value of <% Response.Write (arrDays (iIndex+1) ) %> </body> </html>
|