Modular Software - Home PicLan-IP - Home

PicLan-IP Pre-compiler Functions

note:  Some of these function names have changed with PicLan-IP version 2.0.0(112).
The following mv/Basic extension functions are included in PicLan-IP: Some of these functions already exist in many MV implementations but are included in the PicLan-IP pre-compiler to assist Modular Software's porting of PicLan-IP from platform to platform.


PL_HEXTOIP(...)

Convert a 8 character hexadecimal string into a "dot format" IP address string.


PL_IPTOHEX(...)

Convert a "dot format" IP address string into an 8 character hexadecimal string.


PL_MAX(...,...)

Return the larger of two numbers.


PL_MIN(...,...)

Return the smaller of two numbers.


PL_NOW()

Return the current number of seconds from Jan 1, 1967.


PL_AMTOCRLF(...)

Convert AM characters to CRLF sequences.


PL_CRLFTOAM(...)

Convert CRLF sequences to AM characters.


PL_BIN(...)

Convert a string from hex to binary.


PL_HEX(...)

Convert a string from binary to hex.


PL_FROMDATE(...)

Convert from an internet format printable date/time to the number of seconds from Jan 1, 1967.


PL_TODATE(...)

Convert a number which is the number of seconds from Jan 1, 1967 to an internet format date/time string.


PL_REPL(...,...,...)

Search the first parameter for all occurances of the second parameter and replace then with the third parameter.


PL_QUOTE(...)

Perform HTML "quoting" on a string.

HTML quoting is a process where certain characters are replaced with HTML strings so that the characters will actually be displayed instead of being interpreted as HTML tags.  For example, a less than character '<' will be replaced with '&lt;'.


PL_UNQUOTE(...)

Unquote an HTML string back to normal characters.


PL_TRIMB(...)

Remove any trailing spaces from the string.


PL_TRIMF(...)

Remove any leading spaces from the string.

Modular Software - Home PicLan-IP - Home

© Copyright 1996-1998  Modular Software Corporation.All rights Reserved.