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:
1. PL_HEXTOIP(...)
2. PL_IPTOHEX(...)
3. PL_MAX(...,...)
4. PL_MIN(...,...)
5. PL_NOW()
6. PL_AMTOCRLF(...)
7. PL_CRLFTOAM(...)
8. PL_BIN(...)
9. PL_HEX(...)
10. PL_FROMDATE(...)
11. PL_TODATE(...)
12. PL_REPL(...,...,...)
13. PL_QUOTE(...)
14. PL_UNQUOTE(...)
15. PL_TRIMB(...)
16. PL_TRIMF(...)
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 '<'.
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.
© Copyright 1996-1998 Modular Software
Corporation.All rights Reserved.