Difference between revisions of "Custom QMBASIC Options"

From ScarletDME
Jump to navigation Jump to search
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== QMBASIC Command Options (By Name) ==
 
== QMBASIC Command Options (By Name) ==
  
'''INPUT'''
+
===INPUT===
    <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 /><b>Example Code:</b>
+
     <br />Example Code:<br />
 
     INPUT MYVAR NOCASEINVERT
 
     INPUT MYVAR NOCASEINVERT
  
  
'''INPUT@'''
+
===INPUT@===
    <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 /><b>Example Code:</b>
+
     <br />Example Code:<br />
 
     INPUT@(0,0) MYVAR NOCASEINVERT
 
     INPUT@(0,0) MYVAR NOCASEINVERT
  
  
'''SOCKET.INFO'''
+
===SOCKET.INFO===
    <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
 
         SKT$INFO.FAMILY.IPV6 - This value means the open socket is IPv6
 
         SKT$INFO.FAMILY.IPV6 - This value means the open socket is IPv6
---
+
     <br />Example Code:<br />
     <b>Example Code:</b>
 
 
     SKTFAMILYTYPE = SOCKET.INFO(SKTHANDLE,SKT$INFO.FAMILY)
 
     SKTFAMILYTYPE = SOCKET.INFO(SKTHANDLE,SKT$INFO.FAMILY)
 
     BEGIN CASE
 
     BEGIN CASE

Latest revision as of 04:05, 26 April 2009

QMBASIC Command Options (By Name)

INPUT

NOCASEINVERT - This option ignores the case inversion state of PTERM during the single execution of the statement.
    
Example Code:
INPUT MYVAR NOCASEINVERT


INPUT@

NOCASEINVERT - This option ignores the case inversion state of PTERM during the single execution of the statement.
    
Example Code:
INPUT@(0,0) MYVAR NOCASEINVERT


SOCKET.INFO

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