PicLan-IP Dynamic Web Content
1 2 3 4 5 6 7 8 9 10 11 12
Contents
4. Inserting Main-Line MV/Basic Code Into an HTML Page
In order to insert embedded MV/Basic code into your HTML page, perform
the following steps:
-
At the bottom of the document, start a "pre-formatted paragraph"
-
Insert the string PicLan-IP/BASIC { } as the first line
-
You must specify this string exactly. Even the capitalization
must match for the PicLan-IP web server to process the page as active content.
-
The delimiter characters must be preceeded by a space and must have
a space between the two delimiters.
-
Write your MV/Basic code
-
Be sure that the BASIC code is all contained within a single HTML pre-formatted
paragraph. With some HTML editors this requires you to terminate lines
with <shift>ENTER.
-
At the end of the BASIC code, simply end the preformatted paragraph.
The tag PicLan-IP/BASIC is used by the PicLan-IP Web Server to
identify the start of embedded MV/Basic code within a web page. The
two strings that follow the PicLan-IP/BASIC string tell the PicLan-IP
Web Server what characters you are going to use to surround merge insertion
points elsewhere on the page (more on this later). Most "normal"
pages will use { and } as the inertion characters.
If you write pages that include JavaScript, then you will want to use different
strings such as | and | (note that is is perfectly acceptible
for the opening and closing insertion characters to be the same character).
1 2 3 4 5 6 7 8 9 10 11 12
Contents
© Copyright 1996-1997 Modular Software Corporation.All
rights Reserved.