Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- di_Library v. 0.1 - <b>_dihtmledit()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
_diHTMLEdit()
Get or place contents from/into an HTML device
------------------------------------------------------------------------------
Syntax

    _diHTMLEdit(<nPageHandle>,[<cContent>]) --> cContent

Arguments

    <nPageHandle> is the device handle to be read or modified.

    <cContent> is the new content to be placed into an HTML device.

Returns

    cContent is the contents of the device referenced by <nPageHandle>.  If
    no second argument is given, previously created contents are unmodified.
    If the device handle is not active, the string "ERROR: Device Not Active"
    is returned.  If no content was previously created (using di_initHTML()),
    the string "ERROR: No Previous Content" is returned.  Otherwise, the
    return value is identical to the second argument.

Description

    Modify or return the contents of an HTML page.  In di_Libarary version 0.1
    it will be required to use _diHTMLEdit() with an empty argument to retrieve
    the contents of a page to save or send to CGI output.  In later versions,
    User Functions should hide all direct access to _diHTMLEdit().  Modified
    contents may be written back to an HTML device by specifying a character
    string as a second argument.  This string will generally be a modification
    of the skeleton created by di_initHTML().

Examples

    See Example 2 in the Examples section.

See Also: di_initHTML() Example2

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson