UniBasic Commands Reference - Rocket Software
UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software
B-7 UniBasic Commands Reference @SYSTEM.RETURN.CODE Values @SYSTEM.RETURN.CODE returns various values based on the last command executed. @SYSTEM.RETURN.CODE is available in UniBasic, and is set by many commands, both UniBasic and ECL. ECL @SYSTEM.RETURN.CODE Values The following table describes the possible @SYSTEM.RETURN.CODE values for various ECL commands. Command Success Return Value Error Return Value BSELECT The number of items in the select list. BUILD.INDEX The number of indexes built. -1 COMPILE.DICT 0 -1 CREATE.INDEX The number of indexes created. -1 DELETE.INDEX The number of indexes deleted. -1 ESEARCH The number of items in the select list. FORM.LIST The number of items in the select list. GET.LIST The number of items in the select list. LIST The number of items listed. -1 LIST.INDEX The number of indexes listed. -1 LIST.ITEM The number of items listed. -1 LIST.LABEL The number of items listed. -1 ECL @SYSTEM.RETURN.CODE Values -1 -1 -1 -1
Command Success Return Value Error Return Value LOCK 0 -1 if you specify an invalid lock number. -2 if the resource is locked by another user. MERGE.LIST The number of items in the select list. MODIFY The number of records modified. NSELECT The number of items in the select list. QSELECT The number of items in the select list. SAVE.LIST The number of items saved. -1 SELECT The number of items in the select list. SORT The number of items listed. -1 SORT.ITEM The number of items listed. -1 SORT.LABEL The number of items listed. -1 SSELECT The number of items in the select list. STACKCOMMON 1 – On 0 – Off -1 -1 0 -1 -1 -1 N/A ECL @SYSTEM.RETURN.CODE Values (continued) B-8
- Page 1046 and 1047: C:\Program Files\Adobe\FrameMaker8\
- Page 1048 and 1049: C:\Program Files\Adobe\FrameMaker8\
- Page 1050 and 1051: C:\Program Files\Adobe\FrameMaker8\
- Page 1052 and 1053: C:\Program Files\Adobe\FrameMaker8\
- Page 1054 and 1055: C:\Program Files\Adobe\FrameMaker8\
- Page 1056 and 1057: C:\Program Files\Adobe\FrameMaker8\
- Page 1058 and 1059: C:\Program Files\Adobe\FrameMaker8\
- Page 1060 and 1061: C:\Program Files\Adobe\FrameMaker8\
- Page 1062 and 1063: C:\Program Files\Adobe\FrameMaker8\
- Page 1064 and 1065: C:\Program Files\Adobe\FrameMaker8\
- Page 1066 and 1067: C:\Program Files\Adobe\FrameMaker8\
- Page 1068 and 1069: C:\Program Files\Adobe\FrameMaker8\
- Page 1070 and 1071: C:\Program Files\Adobe\FrameMaker8\
- Page 1072 and 1073: C:\Program Files\Adobe\FrameMaker8\
- Page 1074 and 1075: C:\Program Files\Adobe\FrameMaker8\
- Page 1076 and 1077: C:\Program Files\Adobe\FrameMaker8\
- Page 1078 and 1079: ASCII Character Codes This appendix
- Page 1080 and 1081: A-3 UniBasic Commands Reference ASC
- Page 1082 and 1083: A-5 UniBasic Commands Reference ASC
- Page 1084 and 1085: A-7 UniBasic Commands Reference ASC
- Page 1086 and 1087: A-9 UniBasic Commands Reference ASC
- Page 1088 and 1089: A-11 UniBasic Commands Reference AS
- Page 1090 and 1091: UniBasic@variables This appendix li
- Page 1092 and 1093: B-3 UniBasic Commands Reference @va
- Page 1094 and 1095: @USER0 @USER1 @USER2 @USER3 @USER4
- Page 1098 and 1099: B-9 UniBasic Commands Reference Uni
- Page 1100 and 1101: C-2 UniBasic Commands Reference Ari
- Page 1102 and 1103: C-4 UniBasic Commands Reference Boo
- Page 1104 and 1105: Reserved Words This appendix lists
- Page 1106 and 1107: D-3 UniBasic Commands Reference Res
- Page 1108 and 1109: D-5 UniBasic Commands Reference Res
- Page 1110 and 1111: D-7 UniBasic Commands Reference Res
- Page 1112 and 1113: D-9 UniBasic Commands Reference Res
- Page 1114 and 1115: Commands Affected by BASICTYPEs and
- Page 1116 and 1117: Command or Function E-3 UniBasic Co
- Page 1118 and 1119: Command or Function E-5 UniBasic Co
- Page 1120 and 1121: Command or Function E-7 UniBasic Co
- Page 1122 and 1123: F-2 UniBasic Commands Reference Com
- Page 1124 and 1125: F-4 UniBasic Commands Reference Com
- Page 1126 and 1127: SUBROUTINE (Update Trigger) SUBROUT
- Page 1128 and 1129: F-8 UniBasic Commands Reference Com
Command Success Return Value Error Return Value<br />
LOCK 0 -1 if you specify an<br />
invalid lock number.<br />
-2 if the resource is<br />
locked by another<br />
user.<br />
MERGE.LIST The number of items in the<br />
select list.<br />
MODIFY The number of records<br />
modified.<br />
NSELECT The number of items in the<br />
select list.<br />
QSELECT The number of items in the<br />
select list.<br />
SAVE.LIST The number of items saved. -1<br />
SELECT The number of items in the<br />
select list.<br />
SORT The number of items listed. -1<br />
SORT.ITEM The number of items listed. -1<br />
SORT.LABEL The number of items listed. -1<br />
SSELECT The number of items in the<br />
select list.<br />
STACKCOMMON 1 – On<br />
0 – Off<br />
-1<br />
-1<br />
0<br />
-1<br />
-1<br />
-1<br />
N/A<br />
ECL @SYSTEM.RETURN.CODE Values (continued)<br />
B-8