UniBasic Commands Reference - Rocket Software
UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software
Note: SEND with the X option suppresses the output of return/line feed. However, you cannot include both quotation marks and the colon (‘:’) in the same statement. Examples In the following example, the program statement sends the string to line 0 unless line 0 is not attached. If line 0 is not attached, UniData displays the message “Line not attached”. 1-712 UniBasic Commands Reference SEND BEGIN_TRANSMISSION TO 0 ELSE PRINT "Line not attached" In the next example, the program statement converts the string to HELLO WORLD before sending it to line 0: TESTVAR = "48454C404F WORLD" SENDX TESTVAR TO 0 ELSE PRINT "Line not attached" Related Commands UniBasic GET UniData PROTOCOL – For information, see the UniData Commands Reference.
SEQ Syntax SEQ("char.expr") Description The UniBasic SEQ function converts a single character to its ASCII code value. The SEQ function is the complement of the CHAR function. SEQ supports multibyte languages. Tip: Use SEQ(@NULL) to determine the ASCII code that represents the null value on your system. Example In the following example, the program statement prints the ASCII code corresponding to the character “#” (in this case, 35): PRINT SEQ("#") Related Commands UniBasic ASCII, CHAR, CHARS, EBCDIC SEQ 1-713
- Page 704 and 705: RECORDLOCKED Syntax RECORDLOCKED (f
- Page 706 and 707: STATUS Function Return Values After
- Page 708 and 709: Parameter Description Examples In t
- Page 710 and 711: RECORDLOCKU Syntax RECORDLOCKU [fil
- Page 712 and 713: RELEASE Syntax RELEASE [file.var [,
- Page 714 and 715: ReleaseXML Syntax ReleaseXML(XMLhan
- Page 716 and 717: Example In the following example, c
- Page 718 and 719: Parameter Description The SETTING c
- Page 720 and 721: In some implementations, the values
- Page 722 and 723: REMOVE Syntax REMOVE(dyn.array.var,
- Page 724 and 725: REPLACE Syntax REPLACE(dyn.array.ex
- Page 726 and 727: In the next example, the program se
- Page 728 and 729: RESIZET Syntax RESIZET [UNIT(mu.exp
- Page 730 and 731: RETURN Syntax RETURN [TO label[:]]
- Page 732 and 733: Examples In the following example,
- Page 734 and 735: Example In the following example, t
- Page 736 and 737: RNDSEED Syntax RNDSEED expr Descrip
- Page 738 and 739: SADD Syntax SADD(x, y) Description
- Page 740 and 741: The following table describes the s
- Page 742 and 743: Example In the following example, t
- Page 744 and 745: SELECT Syntax SELECT file.var [TO {
- Page 746 and 747: Examples The following program segm
- Page 748 and 749: SELECTINDEX Syntax SELECTINDEX inde
- Page 750 and 751: Related Commands UniBasic DELETELIS
- Page 752 and 753: Related Commands UniBasic DELETELIS
- Page 756 and 757: SEQS Syntax SEQS("char.expr") Descr
- Page 758 and 759: The following table describes the s
- Page 760 and 761: Parameters The following table desc
- Page 762 and 763: The following table describes the s
- Page 764 and 765: setHTTPDefault Syntax setHTTPDefaul
- Page 766 and 767: The following table describes the s
- 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
Note: SEND with the X option suppresses the output of return/line feed. However, you<br />
cannot include both quotation marks and the colon (‘:’) in the same statement.<br />
Examples<br />
In the following example, the program statement sends the string to line 0 unless line<br />
0 is not attached. If line 0 is not attached, UniData displays the message “Line not<br />
attached”.<br />
1-712 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />
SEND BEGIN_TRANSMISSION TO 0<br />
ELSE PRINT "Line not attached"<br />
In the next example, the program statement converts the string to HELLO WORLD<br />
before sending it to line 0:<br />
TESTVAR = "48454C404F WORLD"<br />
SENDX TESTVAR TO 0 ELSE PRINT "Line not attached"<br />
Related <strong>Commands</strong><br />
<strong>UniBasic</strong><br />
GET<br />
UniData<br />
PROTOCOL – For information, see the UniData <strong>Commands</strong> <strong>Reference</strong>.