UniBasic Commands Reference - Rocket Software
UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software
UniData DELETECOMMON, STACKCOMMON – For information, see the UniData Commands Reference. 1-143 UniBasic Commands Reference
CLEARDATA Syntax CLEARDATA Description The UniBasic CLEARDATA command clears data stored by any executed DATA statements. Subsequent INPUT statements request data from the keyboard because the input queue is empty. Example In the following example, a DATA statement sets up an input queue. An INPUT statement then reads the first item (100) into the variable VAL. Because the value of VAL is 100, a CLEARDATA statement executes and clears the remaining list of data items. The last INPUT statement then requests information from the keyboard rather than getting it from the input queue. If the first value had not been 100, 120 would have been assigned from the second item in the input queue. DATA 100,120,105,54,120 INPUT VAL IF VAL = 100 THEN CLEARDATA PRINT "VALUE": ; INPUT VAL2 Related Commands UniBasic DATA, INPUT CLEARDATA 1-144
- Page 90 and 91: amSendRequest Syntax amSendRequest(
- Page 92 and 93: amSendResponse Syntax amSendRespons
- Page 94 and 95: amTerminate Syntax amTerminate(hSes
- Page 96 and 97: analyzeCertificate Syntax analyzeCe
- Page 98 and 99: AND Syntax expr1 AND expr2 Synonym
- Page 100 and 101: ASIN Syntax ASIN(expr) Description
- Page 102 and 103: Related Command UniData TERM - For
- Page 104 and 105: BITAND Syntax BITAND(num.expr1,num.
- Page 106 and 107: BITOR Syntax BITOR(num.expr1,num.ex
- Page 108 and 109: BPIOCP Syntax BPIOCP Description Th
- Page 110 and 111: BPIOCPN Syntax BPIOCPN Description
- Page 112 and 113: BREAK Syntax BREAK [KEY] {ON | OFF
- Page 114 and 115: BYTELEN Syntax BYTELEN (string) Des
- Page 116 and 117: Example In the following example, t
- Page 118 and 119: Parameters The following table desc
- Page 120 and 121: CALLC Syntax CALLC c.sub.name [(arg
- Page 122 and 123: CASE Syntax BEGIN CASE CASE express
- Page 124 and 125: In the next example, the program se
- Page 126 and 127: Related Commands UniBasic CATS, SPL
- Page 128 and 129: CHAIN Syntax CHAIN "str.expr" Descr
- Page 130 and 131: CHANGE Syntax CHANGE(string, old.su
- Page 132 and 133: CHAR Syntax CHAR(expr) Description
- Page 134 and 135: CHARLEN Syntax CHARLEN (string) Des
- Page 136 and 137: CHECKSUM Syntax CHECKSUM(str.expr)
- Page 138 and 139: Related Commands UniBasic COMMON, C
- Page 142 and 143: CLEARFILE Syntax CLEARFILE [file.va
- Page 144 and 145: CLEARINPUT Syntax CLEARINPUT Synony
- Page 146 and 147: UniQuery GET.LIST, SELECT, SSELECT
- Page 148 and 149: CLOSE Syntax CLOSE [file.var] [ON E
- Page 150 and 151: CLOSESEQ Syntax CLOSESEQ seq.file.v
- Page 152 and 153: closeSocket Syntax closeSocket(sock
- Page 154 and 155: COL1 Syntax COL1( ) Description The
- Page 156 and 157: COMMON Syntax COMMON [/common.name/
- Page 158 and 159: 1-161 UniBasic Commands Reference
- Page 160 and 161: UniData DELETECOMMON, STACKCOMMON -
- Page 162 and 163: Related Command UniBasic EXIT 1-165
- Page 164 and 165: In the next example, the program se
- Page 166 and 167: In the next example, the program se
- Page 168 and 169: COUNT Syntax COUNT(str.expr1, str.e
- Page 170 and 171: COUNTS Syntax COUNTS(expr,str.expr)
- Page 172 and 173: createCertificate Syntax createCert
- Page 174 and 175: createCertRequest Syntax createCert
- Page 176 and 177: Parameter Description The following
- Page 178 and 179: The following table describes the a
- Page 180 and 181: createSecureRequest Syntax createSe
- Page 182 and 183: Method Description The following ta
- Page 184 and 185: Parameters The following table desc
- Page 186 and 187: DATA Syntax DATA expr1 [,expr2]...
- Page 188 and 189: DBTOXML Syntax DBTOXML(xml_document
UniData<br />
DELETECOMMON, STACKCOMMON – For information, see the UniData<br />
<strong>Commands</strong> <strong>Reference</strong>.<br />
1-143 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong>