UniBasic Commands Reference - Rocket Software
UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software
UPCASE Syntax UPCASE(string.expr) Description The UniBasic UPCASE function converts lowercase characters to uppercase. Nonalphabetic values are not changed. Special characters, including the null value, are not converted by this function. UPCASE does not support multibyte languages. Example In the following example, the program segment converts “be bold!!” to “BE BOLD!!”: STRING = 'be bold!!' PRINT UPCASE(STRING) Related Commands UniBasic DOWNCASE, ICONV Masked Character (MC), OCONV Masked Character (MC) 1-894 UniBasic Commands Reference
WAKE Syntax WAKE pid Description The UniBasic WAKE command activates a UniData process (pid) that has been paused with either the ECL PAUSE command or the UniBasic PAUSE command. If the specified process has not already been paused, UniData disregards the next PAUSE issued for the process indicated by pid. Example The following program, WAKEUP, lists paused processes, then prompts for the ID of a process to wake up. Next, the program executes the UniBasic WAKE command against that process, and then executes LIST.PAUSED again to verify that the process was reactivated. WAKEUP EXECUTE "LIST.PAUSED" PRINT "Enter ID for process to wake ": INPUT pid WAKE pid EXECUTE "LIST.PAUSED" The following example shows the results of executing the preceding program, waking up process 10811: 1 :RUN BP WAKEUP 2 Number of Paused Users 3 ~~~~~~~~~~~~~~~~~~~~~~ 4 1 5 6 UDTNO USRNBR UID USRNAME USRTYPE TTY LEFTTIME TOT_TIME 7 1 10811 1283 carolw udt pts/0 - - 8 9 Enter ID for process to wake ?10811 10 Number of Paused Users 11 ~~~~~~~~~~~~~~~~~~~~~~ 12 0 WAKE 1-896
- Page 912 and 913: STOP Syntax STOP [expr] Description
- Page 914 and 915: STR Syntax STR(str.expr, num.expr)
- Page 916 and 917: STRS Syntax STRS(dyn.array, expr) D
- Page 918 and 919: If the response status indicates th
- Page 920 and 921: SUBROUTINE Syntax SUBROUTINE sub.na
- Page 922 and 923: SUBROUTINE (Update Trigger) Syntax
- Page 924 and 925: Tip: The UniBasic STATUS function r
- Page 926 and 927: SUBROUTINE (Delete Trigger) Syntax
- Page 928 and 929: Tip: The UniBasic STATUS function r
- Page 930 and 931: Related Commands UniBasic DEL, INSE
- Page 932 and 933: Examples In the following example,
- Page 934 and 935: In the next example, SWAP does not
- Page 936 and 937: Parameter Description 1-894 UniBasi
- Page 938 and 939: Parameter Description 1-896 UniBasi
- Page 940 and 941: TAN Syntax TAN(num.expr) Descriptio
- Page 942 and 943: TIMEDATE Syntax TIMEDATE( ) Descrip
- Page 944 and 945: Example In the following example, t
- Page 946 and 947: Parameters The following table desc
- Page 948 and 949: TRANSACTION START Syntax TRANSACTIO
- Page 950 and 951: TRIM Syntax TRIM(str.expr[,char[,ty
- Page 952 and 953: Related Commands UniBasic TRIMB, TR
- Page 954 and 955: TRIMF Syntax TRIMF(str.expr) Descri
- Page 956 and 957: Example In the following example, t
- Page 958 and 959: Parameters The following table desc
- Page 960 and 961: UNLOCK Syntax UNLOCK [num.expr] Des
- Page 964 and 965: Related Commands UniBasic PAUSE Uni
- Page 966 and 967: STATUS Function Return Values After
- Page 968 and 969: Related Commands UniBasic CLOSESEQ,
- Page 970 and 971: 1-903 UniBasic Commands Reference
- Page 972 and 973: Related Commands UniBasic CLOSE, DE
- Page 974 and 975: UniData SQL SELECT - For informatio
- Page 976 and 977: Parameter Description Example In th
- Page 978 and 979: Parameter Description Example In th
- Page 980 and 981: The following table describes the r
- Page 982 and 983: Parameters The following table desc
- Page 984 and 985: WRITEU Syntax WRITEU expr {ON | TO}
- Page 986 and 987: Return Value Description Example In
- Page 988 and 989: Parameters The following table desc
- Page 990 and 991: The following example is taken from
- Page 992 and 993: Parameters The following table desc
- Page 994 and 995: C:\Program Files\Adobe\FrameMaker8\
- Page 996 and 997: C:\Program Files\Adobe\FrameMaker8\
- Page 998 and 999: C:\Program Files\Adobe\FrameMaker8\
- Page 1000 and 1001: C:\Program Files\Adobe\FrameMaker8\
- Page 1002 and 1003: C:\Program Files\Adobe\FrameMaker8\
- Page 1004 and 1005: C:\Program Files\Adobe\FrameMaker8\
- Page 1006 and 1007: C:\Program Files\Adobe\FrameMaker8\
- Page 1008 and 1009: C:\Program Files\Adobe\FrameMaker8\
- Page 1010 and 1011: C:\Program Files\Adobe\FrameMaker8\
UPCASE<br />
Syntax<br />
UPCASE(string.expr)<br />
Description<br />
The <strong>UniBasic</strong> UPCASE function converts lowercase characters to uppercase.<br />
Nonalphabetic values are not changed. Special characters, including the null value,<br />
are not converted by this function. UPCASE does not support multibyte languages.<br />
Example<br />
In the following example, the program segment converts “be bold!!” to “BE<br />
BOLD!!”:<br />
STRING = 'be bold!!'<br />
PRINT UPCASE(STRING)<br />
Related <strong>Commands</strong><br />
<strong>UniBasic</strong><br />
DOWNCASE, ICONV Masked Character (MC), OCONV Masked Character (MC)<br />
1-894 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong>