<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