没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Caché ObjectScript
Reference
Version 5.0.17
30 June 2005
InterSystems Corporation 1 Memorial Drive Cambridge MA 02142 www.intersystems.com
Caché ObjectScript Reference
Caché Version 5.0.17 30 June 2005
Copyright © 2005 InterSystems Corporation.
All rights reserved.
This book was assembled and formatted in Adobe Page Description Format (PDF) using tools and information from
the following sources: Sun Microsystems, RenderX, Inc., Adobe Systems, and the World Wide Web Consortium at
www.w3c.org. The primary document development tools were special-purpose XML-processing applications built
by InterSystems using Caché and Java.
The Caché product and its logos are trademarks of InterSystems Corporation.
The Ensemble product and its logos are trademarks of InterSystems Corporation.
The InterSystems name and logo are trademarks of InterSystems Corporation.
This document contains trade secret and confidential information which is the property of InterSystems Corporation,
One Memorial Drive, Cambridge, MA 02142, or its affiliates, and is furnished for the sole purpose of the operation
and maintenance of the products of InterSystems Corporation. No part of this publication is to be used for any other
purpose, and this publication is not to be reproduced, copied, disclosed, transmitted, stored in a retrieval system or
translated into any human or computer language, in any form, by any means, in whole or in part, without the express
prior written consent of InterSystems Corporation.
The copying, use and disposition of this document and the software programs described herein is prohibited except
to the limited extent set forth in the standard software license agreement(s) of InterSystems Corporation covering
such programs and related documentation. InterSystems Corporation makes no representations and warranties
concerning such software programs other than those set forth in such standard software license agreement(s). In
addition, the liability of InterSystems Corporation for any losses or damages relating to or arising out of the use of
such software programs is limited in the manner set forth in such standard software license agreement(s).
THE FOREGOING IS A GENERAL SUMMARY OF THE RESTRICTIONS AND LIMITATIONS IMPOSED BY
INTERSYSTEMS CORPORATION ON THE USE OF, AND LIABILITY ARISING FROM, ITS COMPUTER
SOFTWARE. FOR COMPLETE INFORMATION REFERENCE SHOULD BE MADE TO THE STANDARD SOFTWARE
LICENSE AGREEMENT(S) OF INTERSYSTEMS CORPORATION, COPIES OF WHICH WILL BE MADE AVAILABLE
UPON REQUEST.
InterSystems Corporation disclaims responsibility for errors which may appear in this document, and it reserves the
right, in its sole discretion and without notice, to make substitutions and modifications in the products and practices
described in this document.
Caché, InterSystems Caché, Caché SQL, Caché ObjectScript, Caché Object, Ensemble, InterSystems Ensemble,
Ensemble Object, and Ensemble Production are trademarks of InterSystems Corporation. All other brand or product
names used herein are trademarks or registered trademarks of their respective companies or organizations.
For Support questions about any InterSystems products, contact:
InterSystems Worldwide Customer Support
+1 617 621-0700Tel:
+1 617 374-9391Fax:
support@InterSystems.comEmail:
Table of Contents
Symbols and Abbreviations ............................................................................................... 1
Symbols Used in Caché ObjectScript ............................................................................ 1
Abbreviations Used in Caché ObjectScript ................................................................... 8
Caché ObjectScript Commands ...................................................................................... 13
BREAK ........................................................................................................................ 14
CLOSE ......................................................................................................................... 18
CONTINUE ................................................................................................................. 20
DO ................................................................................................................................ 22
DO WHILE .................................................................................................................. 31
ELSE ............................................................................................................................ 35
ELSEIF ........................................................................................................................ 36
FOR .............................................................................................................................. 36
GOTO ........................................................................................................................... 44
HALT ........................................................................................................................... 48
HANG .......................................................................................................................... 50
IF .................................................................................................................................. 52
JOB .............................................................................................................................. 55
KILL ............................................................................................................................ 70
LOCK ........................................................................................................................... 75
MERGE ........................................................................................................................ 85
NEW ............................................................................................................................ 88
OPEN ........................................................................................................................... 94
PRINT ........................................................................................................................ 101
QUIT .......................................................................................................................... 103
READ ......................................................................................................................... 108
SET ............................................................................................................................ 118
TCOMMIT ................................................................................................................. 126
TROLLBACK ............................................................................................................ 128
TSTART ..................................................................................................................... 132
USE ............................................................................................................................ 135
VIEW ......................................................................................................................... 141
WHILE ....................................................................................................................... 146
WRITE ....................................................................................................................... 150
Caché ObjectScript Reference iii
XECUTE .................................................................................................................... 161
Caché ObjectScript Functions ....................................................................................... 167
$ASCII ....................................................................................................................... 169
$BIT ........................................................................................................................... 172
$BITCOUNT ............................................................................................................. 174
$BITFIND .................................................................................................................. 175
$BITLOGIC ............................................................................................................... 177
$CASE ....................................................................................................................... 179
$CHAR ...................................................................................................................... 180
$DATA ....................................................................................................................... 183
$EXTRACT ............................................................................................................... 187
$FIND ........................................................................................................................ 193
$FNUMBER .............................................................................................................. 195
$GET .......................................................................................................................... 198
$INCREMENT .......................................................................................................... 202
$INUMBER ............................................................................................................... 205
$ISOBJECT ............................................................................................................... 211
$ISVALIDNUM ......................................................................................................... 212
$JUSTIFY .................................................................................................................. 217
$LENGTH .................................................................................................................. 219
$LIST ......................................................................................................................... 221
$LISTBUILD ............................................................................................................. 225
$LISTDATA ............................................................................................................... 228
$LISTFIND ................................................................................................................ 229
$LISTGET ................................................................................................................. 231
$LISTLENGTH ......................................................................................................... 233
$LISTSAME .............................................................................................................. 234
$NAME ...................................................................................................................... 237
$NEXT ....................................................................................................................... 241
$NORMALIZE .......................................................................................................... 242
$NUMBER ................................................................................................................ 246
$ORDER .................................................................................................................... 249
$PIECE ...................................................................................................................... 253
$QLENGTH ............................................................................................................... 260
$QSUBSCRIPT ......................................................................................................... 261
$QUERY .................................................................................................................... 262
iv Caché ObjectScript Reference
$RANDOM ................................................................................................................ 266
$REVERSE ................................................................................................................ 267
$SELECT ................................................................................................................... 268
$SORTBEGIN ........................................................................................................... 270
$SORTEND ............................................................................................................... 271
$STACK ..................................................................................................................... 272
$TEXT ....................................................................................................................... 276
$TRANSLATE ........................................................................................................... 279
$VIEW ....................................................................................................................... 281
Math and Time Functions .............................................................................................. 285
$ZABS ....................................................................................................................... 285
$ZARCCOS ............................................................................................................... 286
$ZARCSIN ................................................................................................................ 287
$ZARCTAN ............................................................................................................... 288
$ZCOS ....................................................................................................................... 289
$ZCOT ....................................................................................................................... 290
$ZCSC ........................................................................................................................ 291
$ZDATE ..................................................................................................................... 292
$ZDATEH .................................................................................................................. 303
$ZDATETIME ........................................................................................................... 313
$ZDATETIMEH ........................................................................................................ 323
$ZEXP ........................................................................................................................ 333
$ZHEX ....................................................................................................................... 335
$ZLN .......................................................................................................................... 337
$ZLOG ....................................................................................................................... 338
$ZPOWER ................................................................................................................. 339
$ZSEC ........................................................................................................................ 340
$ZSIN ......................................................................................................................... 342
$ZSQR ....................................................................................................................... 343
$ZTAN ....................................................................................................................... 344
$ZTIME ..................................................................................................................... 345
$ZTIMEH .................................................................................................................. 349
Routine, Debugging, and Other Commands ................................................................ 353
ZBREAK .................................................................................................................... 354
ZINSERT ................................................................................................................... 357
ZKILL ........................................................................................................................ 361
Caché ObjectScript Reference v
剩余727页未读,继续阅读
Binlorima
- 粉丝: 6
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页