home *** CD-ROM | disk | FTP | other *** search
-
- <HTML>
- <HEAD>
- <TITLE>showMarkSpace - Parity handling functions</TITLE>
- <LINK REL="stylesheet" HREF="../../../Active.css" TYPE="text/css">
- <LINK REV="made" HREF="mailto:">
- </HEAD>
-
- <BODY>
- <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
- <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
- <STRONG><P CLASS=block> showMarkSpace - Parity handling functions</P></STRONG>
- </TD></TR>
- </TABLE>
-
- <A NAME="__index__"></A>
- <!-- INDEX BEGIN -->
-
- <UL>
-
- <LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
-
- <LI><A HREF="#synopsis">SYNOPSIS</A></LI>
- <LI><A HREF="#description">DESCRIPTION</A></LI>
- <LI><A HREF="#notes">NOTES</A></LI>
- <LI><A HREF="#author">AUTHOR</A></LI>
- <LI><A HREF="#see also">SEE ALSO</A></LI>
- </UL>
- <!-- INDEX END -->
-
- <HR>
- <P>
- <H1><A NAME="name">NAME</A></H1>
- <P>String::Parity, setEvenParity, setOddParity, setSpaceParity, setMarkParity,
- isEvenParity, isOddParity isSpaceParity, isMarkParity,
- EvenBytes, OddBytes, SpaceBytes, MarkBytes,
- showParity, showMarkSpace - Parity (odd/even/mark/space) handling functions</P>
- <P>
- <HR>
- <H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
- <UL>
- <LI>Linux</LI>
- <LI>Solaris</LI>
- <LI>Windows</LI>
- </UL>
- <HR>
- <H1><A NAME="synopsis">SYNOPSIS</A></H1>
- <PRE>
- use String::Parity;
- use String::Parity qw(:DEFAULT /show/);</PRE>
- <P>
- <HR>
- <H1><A NAME="description">DESCRIPTION</A></H1>
- <DL>
- <DT><STRONG><A NAME="item_setEvenParity_LIST">setEvenParity LIST</A></STRONG><BR>
- <DD>
- Copies the elements of LIST to a new list and converts the new elements to
- strings of bytes with even parity. In array context returns the new list.
- In scalar context joins the elements of the new list into a single string
- and returns the string.
- <P></P>
- <DT><STRONG><A NAME="item_setOddParity_LIST">setOddParity LIST</A></STRONG><BR>
- <DD>
- Like setEvenParity function, but converts to strings with odd parity.
- <P></P>
- <DT><STRONG><A NAME="item_setSpaceParity_LIST">setSpaceParity LIST</A></STRONG><BR>
- <DD>
- Like setEvenParity function, but converts to strings with space
- (High bit cleared) parity.
- <P></P>
- <DT><STRONG><A NAME="item_setMarkParity_LIST">setMarkParity LIST</A></STRONG><BR>
- <DD>
- Like setEvenParity function, but converts to strings with mark
- (High bit set) parity.
- <P></P>
- <DT><STRONG><A NAME="item_EvenBytes_LIST">EvenBytes LIST</A></STRONG><BR>
- <DD>
- Returns the number of even parity bytes in the elements of LIST.
- <P></P>
- <DT><STRONG><A NAME="item_OddBytes_LIST">OddBytes LIST</A></STRONG><BR>
- <DD>
- Returns the number of odd parity bytes in the elements of LIST.
- <P></P>
- <DT><STRONG><A NAME="item_SpaceBytes_LIST">SpaceBytes LIST</A></STRONG><BR>
- <DD>
- Returns the number of space parity bytes in the elements of LIST.
- <P></P>
- <DT><STRONG><A NAME="item_MarkBytes_LIST">MarkBytes LIST</A></STRONG><BR>
- <DD>
- Returns the number of mark parity bytes in the elements of LIST.
- <P></P>
- <DT><STRONG><A NAME="item_isEvenParity_LIST">isEvenParity LIST</A></STRONG><BR>
- <DD>
- Returns TRUE if the LIST contains no byte with odd parity, FALSE otherwise.
- <P></P>
- <DT><STRONG><A NAME="item_isOddParity_LIST">isOddParity LIST</A></STRONG><BR>
- <DD>
- Returns TRUE if the LIST contains no byte with even parity, FALSE otherwise.
- <P></P>
- <DT><STRONG><A NAME="item_isSpaceParity_LIST">isSpaceParity LIST</A></STRONG><BR>
- <DD>
- Returns TRUE if the LIST contains no byte with mark parity, FALSE otherwise.
- <P></P>
- <DT><STRONG><A NAME="item_isMarkParity_LIST">isMarkParity LIST</A></STRONG><BR>
- <DD>
- Returns TRUE if the LIST contains no byte with space parity, FALSE otherwise.
- <P></P>
- <DT><STRONG><A NAME="item_showParity_LIST">showParity LIST</A></STRONG><BR>
- <DD>
- Like setEvenParity function, but converts bytes with even parity to 'e'
- and other bytes to 'o'.
- The function showParity must be imported by a specialised import list.
- <P></P>
- <DT><STRONG><A NAME="item_showMarkSpace_LIST">showMarkSpace LIST</A></STRONG><BR>
- <DD>
- Like setEvenParity function, but converts bytes with space parity to 's'
- and other bytes to 'm'.
- The function showMarkSpace must be imported by a specialised import list.
- <P></P></DL>
- <P>
- <HR>
- <H1><A NAME="notes">NOTES</A></H1>
- <P>Don't use this module unless you have to communicate with some old device
- or protocol. Please make your application 8 bit clean and use the
- internationally standardised ISO-8859-1 character set.</P>
- <P>
- <HR>
- <H1><A NAME="author">AUTHOR</A></H1>
- <P>Winfried Koenig <<A HREF="mailto:win@in.rhein-main.de">win@in.rhein-main.de</A>></P>
- <P>
- <HR>
- <H1><A NAME="see also">SEE ALSO</A></H1>
- <P>perl(1), <CODE>Exporter(1)</CODE></P>
- <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
- <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
- <STRONG><P CLASS=block> showMarkSpace - Parity handling functions</P></STRONG>
- </TD></TR>
- </TABLE>
-
- </BODY>
-
- </HTML>
-