<% @ Language=VBScript %> <% Option Explicit %> <% Response.Buffer = True 'Declare variables Dim intIndexPosition 'Holds the idex poistion in the emiticon array Dim intNumberOfOuterLoops 'Holds the outer loop number for rows Dim intLoop 'Holds the loop index position Dim intInnerLoop 'Holds the inner loop number for columns Dim intASCIINo 'Holds the ascii number of the char %> Special Characters <% '***** START WARNING - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE LICENSE AGREEMENT ****** Response.Write(vbCrLf & "") '***** END WARNING - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE LICENSE AGREEMENT ****** 'If this is Gecko based browser or Opera link to JS code for Gecko If RTEenabled = "Gecko" OR RTEenabled = "opera" Then Response.Write(vbCrLf & "") %>

<% = strTxtSpecialCharacters %>

<% 'Initiliase ascii no intASCIINo = 32 'Intilise the index position (we are starting at 1 instead of position 0 in the array for simpler calculations) intIndexPosition = 1 'Calcultae the number of outer loops to do intNumberOfOuterLoops = 215 / 20 'If there is a remainder add 1 to the number of loops If 215 MOD 20 > 0 Then intNumberOfOuterLoops = intNumberOfOuterLoops + 1 'Loop throgh th list of characters For intLoop = 1 to intNumberOfOuterLoops Response.Write(vbCrLf & " ") 'Loop throgh the list of characters For intInnerLoop = 1 to 20 'Calculate ascii no intASCIINo = intASCIINo + 1 'Miss out some chars that don't display correctly or are spaces or delete If intASCIINo = 127 Then intASCIINo = 128 If intASCIINo = 129 Then intASCIINo = 130 If intASCIINo = 141 Then intASCIINo = 142 If intASCIINo = 143 Then intASCIINo = 145 If intASCIINo = 157 Then intASCIINo = 158 If intASCIINo = 160 Then intASCIINo = 161 If intASCIINo = 173 Then intASCIINo = 174 'If there is nothing to display show an empty box If intIndexPosition > 215 Then Response.Write(vbCrLf & " ") 'Else show the character Else Response.Write(vbCrLf & " ") End If 'Minus one form the index position intIndexPosition = intIndexPosition + 1 Next Response.Write(vbCrLf & " ") Next %>
&#" & intASCIINo & ";