HTMLBasic

HTMLBasic is a scripting language similar to Microsoft's ASP. The BASIC language dialect is based on WebBasic Interpreter, which is similar to QBasic. HTMLBasic allows you to add BASIC language programming to HTML. Consider this example:
<HTML><BODY>
<% for j = 1 to 5 %>
  I Love Number: <%=j%> <BR>
<% next %>
</HTML></BODY>
The BASIC code starts with <% and ends with %>. Everything else is treated as HTML. If an = follows <% then the value of the variable or expression that follows is printed at that position.

WebBasic automatically supports HTMLBasic. Simply name your file with an extension of htb (ex. myfile.htb) and reference the file the same way WebBasic files are referenced. See WebBasic Interpreter for details.


© 1999 Data Design Group, Inc. All Rights Reserved