## Run Time HTML Data

This manual is being displayed using SM32. However it is not a good example of your average business basic program. It displays static information (its Run Time Output) and it receives only trivial navigation information as its Run Time Input. Most programs will want receive multiple fields of Input and display Dynamic Information based on previous user input.

### Input

When a user takes some action that would cause a new document to be displayed the following information is available to the programmer:
1. Destination url of the new document. The destination can be some kind of flag to your program.
2. Form Data: This is either part of the "url" data if METHOD=GET or it is the "posted data" data if the METHOD=POST. Note that Load Html generated programs use METHOD=POST and have a subroutine to extract the posted data from the the posted data string.
3. Use the "GETouterHTML" WRITE GUI command and pull the data from the HTML code segment. Note that Load HTML generated programs are expected to use the subroutine at 6000 for this purpose.

### Output

There are 2 methods to display Run Time Data:
1. Use the HTML document as a template of the document will actually be displayed. For example the HTML document might be called MYDOC.HTML and the displayed HTML document might be TEMP.HTML. Then MYDOC.HTML is scanned-copied into TEMP.HTML making changes to the document based on some kind of programmer defined syntax. Subroutine 4000 of Load Html generated programs is provided for this purpose, however in Load Html generated programs the original MYDOC.HTML would be contained in A$.
2. Use the "SETouterHTML" WRITE GUI command to modify code segments in the original HTML document. Load Html generated programs use the subroutine 5000 for this purpose. Note: with this method you should have set "SendDocumentDone" mode to "On", so that you receive a "DocumentComplete" indicating it is safe to use "SETouterHTML".