UniBasic Commands Reference - Rocket Software
UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software
SPACE Syntax SPACE(expr) Description The UniBasic SPACE function returns a string containing the specified number of spaces. Note: Functions can be concatenated within a PRINT statement. Example In the following example, the program statement prints HI and THERE separated by 15 spaces: 1-776 UniBasic Commands Reference PRINT "HI":SPACE(15):"THERE" This results in: HI THERE Related Command UniBasic SPACES
SPACES Syntax SPACES(dyn.array.expr) Description The UniBasic SPACES function returns the number of spaces specified in each element of the dynamic array dyn.array.expr. Example In the following example, the program segment prints the number of spaces specified in each element of the dynamic array ARR1: ARR1 = 1:@AM:2:@AM:3:@AM:4:@AM:5 ARR2 = SPACES(ARR1) This results in ARR2 containing one space in the first element, two spaces in the second element, and so forth. Related Command UniBasic SPACE SPACES 1-777
- Page 768 and 769: Parameters The following table desc
- Page 770 and 771: Examples In the following example,
- Page 772 and 773: setPrivateKey Syntax setPrivateKey(
- Page 774 and 775: setRandomSeed Syntax setRandomSeed(
- Page 776 and 777: setRequestHeader Syntax setRequestH
- Page 778 and 779: setSocketOptions Syntax setSocketOp
- Page 780 and 781: showSecurityContext Syntax showSecu
- Page 782 and 783: SIGNATURE Syntax SIGNATURE(algorith
- Page 784 and 785: Return Code Status 1-742 UniBasic C
- Page 786 and 787: SLEEP Syntax SLEEP [hh:mm[:ss]] [se
- Page 788 and 789: SMUL Syntax SMUL(x, y) Description
- Page 790 and 791: Return Codes The return code indica
- Page 792 and 793: The following table describes each
- Page 794 and 795: SOAPGetDefault Syntax SOAPGetDefaul
- Page 796 and 797: SOAPGetFault Syntax SOAPGetFault(re
- Page 798 and 799: SOAPGetResponseHeader Syntax SOAPGe
- Page 800 and 801: SOAPRequestWrite Syntax SOAPRequest
- Page 802 and 803: SOAPSetDefault Syntax SOAPSetDefaul
- Page 804 and 805: Along with SOAPSetDefault, the Call
- Page 806 and 807: Return Codes The return code indica
- Page 808 and 809: Return Codes The return code indica
- Page 810 and 811: Return Codes The return code indica
- Page 812 and 813: You can also use the UniBasic STATU
- Page 814 and 815: Return Codes The return code indica
- Page 816 and 817: SOUNDEX Syntax SOUNDEX(expr) Descri
- Page 820 and 821: SPLICE Syntax SPLICE(expr1,"expr",
- Page 822 and 823: SQLAllocConnect Syntax status = SQL
- Page 824 and 825: SQLAllocEnv Syntax status = SQLAllo
- Page 826 and 827: SQLAllocStmt Syntax status = SQLAll
- Page 828 and 829: SQLBindCol Syntax status = SQLBindC
- Page 830 and 831: SQLBindParameter Syntax status = SQ
- Page 832 and 833: Parameters The following table desc
- Page 834 and 835: SQLCancel Syntax status = SQLCancel
- Page 836 and 837: SQLColAttributes Syntax status = SQ
- Page 838 and 839: 1-796 UniBasic Commands Reference C
- Page 840 and 841: SQLColumns Syntax status = SQLColum
- Page 842 and 843: Return Values The following table d
- Page 844 and 845: Parameter Description Return Values
- Page 846 and 847: Parameter Description Return Values
- Page 848 and 849: Return Values The following table d
- Page 850 and 851: ODBC Data Sources When a program is
- Page 852 and 853: SQLExecDirect Syntax status = SQLEx
- Page 854 and 855: Parameter Description Return Values
- Page 856 and 857: SQLExecute tells the data source to
- Page 858 and 859: Return Values The following table d
- Page 860 and 861: Return Values The following table d
- Page 862 and 863: Return Values The following table d
- Page 864 and 865: Parameters The following table desc
- Page 866 and 867: SQLGetInfo Syntax status = SQLGetIn
SPACE<br />
Syntax<br />
SPACE(expr)<br />
Description<br />
The <strong>UniBasic</strong> SPACE function returns a string containing the specified number of<br />
spaces.<br />
Note: Functions can be concatenated within a PRINT statement.<br />
Example<br />
In the following example, the program statement prints HI and THERE separated by<br />
15 spaces:<br />
1-776 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />
PRINT "HI":SPACE(15):"THERE"<br />
This results in:<br />
HI THERE<br />
Related Command<br />
<strong>UniBasic</strong><br />
SPACES