ASP/VBScript Boolean() Declare variables type boolean.
ShotDev Focus:
- Declare variables type boolean.
Example
asp_boolean.asp
<% Option Explicit %> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <% Dim bolVar1,bolVar2 bolVar1 = True bolVar2 = False Response.write ("bolVar1="&bolVar1&"<br>") Response.write ("bolVar2="&bolVar2&"<br>") %> </body> </html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_boolean.asp
Screenshot
.
.
.