Difference between revisions of "Custom QMBASIC Options"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
== QMBASIC Command Options (By Name) == | == QMBASIC Command Options (By Name) == | ||
− | '''INPUT''' | + | '''Table Of Contents''' |
+ | <a href="#input">INPUT</a> | ||
+ | <a href="#inputat">INPUT@</a> | ||
+ | <a href="#socket.info">SOCKET.INFO</a> | ||
+ | |||
+ | |||
+ | |||
+ | <a name="#input">'''INPUT'''</a> | ||
<b>NOCASEINVERT</b> - This option ignores the case inversion state of PTERM during the single execution of the statement. | <b>NOCASEINVERT</b> - This option ignores the case inversion state of PTERM during the single execution of the statement. | ||
<br />Example Code:<br /> | <br />Example Code:<br /> | ||
Line 7: | Line 14: | ||
− | '''INPUT@''' | + | <a name="#inputat">'''INPUT@'''</a> |
<b>NOCASEINVERT</b> - This option ignores the case inversion state of PTERM during the single execution of the statement. | <b>NOCASEINVERT</b> - This option ignores the case inversion state of PTERM during the single execution of the statement. | ||
<br />Example Code:<br /> | <br />Example Code:<br /> | ||
Line 13: | Line 20: | ||
− | '''SOCKET.INFO''' | + | <a name="#socket.info">'''SOCKET.INFO'''</a> |
<b>SKT$INFO.FAMILY</b> - This key was added to support the identification of IPv4 and IPv6 family types on an open socket handle. | <b>SKT$INFO.FAMILY</b> - This key was added to support the identification of IPv4 and IPv6 family types on an open socket handle. | ||
SKT$INFO.FAMILY.IPV4 - This value means the open socket is IPv4 | SKT$INFO.FAMILY.IPV4 - This value means the open socket is IPv4 |
Revision as of 03:52, 26 April 2009
QMBASIC Command Options (By Name)
Table Of Contents
<a href="#input">INPUT</a> <a href="#inputat">INPUT@</a> <a href="#socket.info">SOCKET.INFO</a>
<a name="#input">INPUT</a>
NOCASEINVERT - This option ignores the case inversion state of PTERM during the single execution of the statement.
Example Code:
INPUT MYVAR NOCASEINVERT
<a name="#inputat">INPUT@</a>
NOCASEINVERT - This option ignores the case inversion state of PTERM during the single execution of the statement.
Example Code:
INPUT@(0,0) MYVAR NOCASEINVERT
<a name="#socket.info">SOCKET.INFO</a>
SKT$INFO.FAMILY - This key was added to support the identification of IPv4 and IPv6 family types on an open socket handle. SKT$INFO.FAMILY.IPV4 - This value means the open socket is IPv4 SKT$INFO.FAMILY.IPV6 - This value means the open socket is IPv6
Example Code:
SKTFAMILYTYPE = SOCKET.INFO(SKTHANDLE,SKT$INFO.FAMILY) BEGIN CASE CASE SKTFAMILYTYPE = SKT$INFO.FAMILY.IPV4; CRT "This is an IPv4 socket!" CASE SKTFAMILYTYPE = SKT$INFO.FAMILY.IPV6; CRT "This is an IPv6 socket!" END CASE