logo资料库

基础知识sql学习基础知识sql学习.pdf

第1页 / 共782页
第2页 / 共782页
第3页 / 共782页
第4页 / 共782页
第5页 / 共782页
第6页 / 共782页
第7页 / 共782页
第8页 / 共782页
资料共782页,剩余部分请下载后查看
SQABasic Language Reference
Copyright
Contents
Preface
Audience
Other Resources
Accessing SQABasic Help
Using the Examples in Help
Notes About the Examples
Typographical Conventions
Contacting Rational Technical Publications
Contacting Rational Technical Support
Part I Introducing SQABasic
Chapter 1 What Is SQABasic?
Automatic Script Generation
Working with Test Scripts
Your Work Environment
Source and Runtime Files
SQABasic Additions to the Basic Language
Other Commands Not Found in Basic
VU Scripting Language
Chapter 2 Functional List
Arrays
Compiler Directives
Datapool Commands (SQABasic Additions)
Dates & Times
Declarations
Dialog Box Definition
Dialog Box Services
Disk and Directory Control
Dynamic Data Exchange (DDE)
Environmental Control
Error Handling
File Control
File Input/Output
Financial Functions
Flow Control
Numeric and Trigonometric Functions
Object Scripting Commands (SQABasic Additions)
Objects
ODBC
Screen Input/Output
SQABasic Commands
String Conversions
String Manipulation
Timing and Coordination Commands (SQABasic Additions)
User Action Commands (SQABasic Additions)
Utility Commands (SQABasic Additions)
Variants
Verification Point Commands (SQABasic Additions)
Part II Using SQABasic
Chapter 3 SQABasic Fundamentals
Commands
Arguments
Passing Arguments By Value or By Reference
Syntax of By-Value and By-Reference Arguments
Syntax for Passing Arguments to External Procedures
Passing Named Arguments
Syntax of Named Arguments
Data Types
Descriptions of SQABasic Data Types
Data Type Notes
Variant Data Types
Valid Variant Data Types
Identifying the Type of Data Stored in a Variant
User-Defined Data Types
Declaring a Variable as a User-Defined Data Type
Dialog Box Records
Data Type Conversions
Arrays
Declaring an Array
Referencing an Array
Dynamic Arrays
Dimensions of a Dynamic Array
Dynamic Array Example
Expressions and Operators
Numeric Operators
String Concatenation Operators
Comparison Operators
Logical Operators
Scope of Variables and Constants
Year 2000 Compliance
Suggestions for Avoiding Year 2000 Problems
Trappable Errors
Responding to Errors
User-Defined Errors
Error-Handling Examples
Chapter 4 SQABasic Scripts
What is a Script?
Script Source Files
Script Executable Files
Script Structure
Script Initialization
Window Restoration
Script Body
Script Close
Sample Script
User Action and Verification Point Commands
User Action Commands
Verification Point Commands
Syntax of User Action and Verification Point Commands
Components of a Recognition Method String
Recognition Method Order
Changing the Default Order
Recognition Methods in Java Commands
Using Object Scripting Commands with Java Objects
Specifying Parent Objects in recMethod
Object Context
Establishing Context through a Window Command
Actions that Set Context
Assigning Context to the Currently Active Window
Using Wildcards in Window Captions
Using Wildcard Characters as Ordinary Characters
Establishing Context through Context Notation
Using Wildcards in Window Captions
Using Wildcard Characters as Ordinary Characters
Default Context
Customizing Scripts
Script Editing Basics
Declaring Variables and Constants
Declaring Local Variables and Constants
Declaring Module-Level Variables and Constants
Declaring Global Variables and Constants
Adding Custom Procedures to a Script
Declaring a Procedure Residing in a Script
Declaring a Sub Procedure
Declaring a Function
Using a Procedure Definition as a Declaration
Example of a Custom Procedure
Adding Custom Procedures to a Library File
Working With SQABasic Library Files
Creating SQABasic Library Files
Editing SQABasic Library Files
Compiling SQABasic Library Files
Declaring a Procedure Residing in an SQABasic Library File
Where to Declare an SQABasic Library File
Working With DLL Files
Declaring a Procedure Residing in a DLL File
Where to Declare a DLL File
Using SQABasic Header Files
Creating and Editing a Header File
Creating and Editing a Project Header File
Saving SQABasic Header Files
Scope of Declarations in SQABasic Header Files
Declaring Global Variables and Constants Inside Header Files
Declaring Global Procedures inside Header Files
Referencing an SQABasic Header File
Sample Library and Header Files
SQABasic Path
Using the Template File
Chapter 5 Enhancements to Recorded Scripts
Object Scripting
Specifying an Object
Object Type
SQABasic Object Type Names
Object Context
Other Ways to Specify an Object
Specifying the Object Property
Properties Assigned in the Development Environment
Additional Properties
Array of Property Values
Specifying Individual Elements in an Array
Retrieving an Entire Array
Retrieving the Number of Elements in an Array
Getting Help Defining Recognition Methods
Letting Robot Define Recognition Method Values
Finding Recognition Method Values Programmatically
Examples
Object Scripting Status Codes
Managing Custom Verification Points
Summary of Verification Point Management Commands
Current Baseline and Logged Baseline
Actual Data Files
Using the Verification Point Management Commands
Example
Ownership of Custom Verification Point Files
Comparing Environment States
Why Compare Environment States?
What Environment State Changes Are Detected?
Using the Environment State Comparison Commands
When To Use the Environment State Comparison Commands
Specifying the Areas of the Environment To Test
Example of an Environment State Comparison
Displaying Messages in Robot
Displaying Messages in the Console Window
Displaying the Console Window
Writing to the Console Window
Removing Messages from the Console Window
Displaying Messages in the LogViewer
Using SQALogMessage
Using SQAScriptCmdFailure
Using Datapools
Summary of Datapool Commands
Using Datapools with GUI Scripts
Recording a GUI Script
Adding Datapool Commands to a GUI Script
Substituting Variables for Literal Values
Edit Box Example
Combo List Box Example
Assigning Datapool Values to Variables
Creating a Datapool
Finding Out What Data Types You Need
Finding Values in GUI Scripts
Example GUI Script
Accessing External Applications
Dynamic Data Exchange (DDE)
Opening a DDE Channel
Communicating with the Application
Closing the Channel
Objects
Step 1: Create an Object Variable to Access the Application
Step 2: Use Methods and Properties to Act on Objects
Part III Command Reference
Chapter 6 Command Reference
Abs
AnimateControl
AnimateControlVP
AppActivate
Asc
Assert
Atn
Beep
Begin Dialog...End Dialog
Browser
Button
ButtonGroup
Calendar
CalendarVP
Call
CallScript
CancelButton
Caption
CCur
CDbl
ChDir
ChDrive
CheckBox (Statement)
CheckBox (User Action Command)
CheckBoxVP
Chr
CInt
Class List
Clipboard
ClipboardVP
CLng
Close
ComboBox (Statement)
ComboBox (User Action Command)
ComboBoxVP
ComboEditBox
ComboEditBoxVP
ComboListBox
ComboListBoxVP
Command
Const
Cos
CreateObject
CSng
CStr
'$CStrings
CurDir
CVar
CVDate
DataWindow
DataWindowVP
Date (Function)
Date (Statement)
DateSerial
DateTime
DateTimeVP
DateValue
Day
DDEAppReturnCode
DDEExecute
DDEInitiate
DDEPoke
DDERequest
DDETerminate
Declare
Deftype
DelayFor
Desktop
Dialog (Function)
Dialog (Statement)
Dim
Arrays
Numbers
Objects
Strings
User-Defined
Variants
Dir
DlgControlID
DlgEnable (Function)
DlgEnable (Statement)
DlgEnd
DlgFocus (Function)
DlgFocus (Statement)
DlgListBoxArray (Function)
DlgListBoxArray (Statement)
DlgSetPicture
DlgText (Function)
DlgText (Statement)
DlgValue (Function)
DlgValue (Statement)
DlgVisible (Function)
DlgVisible (Statement)
Do...Loop
DoEvents
DropComboBox
DropListBox
EditBox
EditBoxVP
EndPlay
EndSaveWindowPositions
Environ
Eof
Erase
Erl
Err (Function)
Err (Statement)
Error (Function)
Error (Statement)
Exit
Exp
FileAttr
FileCopy
FileDateTime
FileLen
FileVP
Fix
For...Next
Format
Formatting Numbers
Formatting Dates and Times
Formatting Strings
FreeFile
Function...End Function
FV
GenericObject
GenericObjectVP
Get
GetAttr
GetField
GetLastVPResult
GetObject
Global
Arrays
Numbers
User-Defined
Strings
Variants
GoTo
GroupBox (Statement)
GroupBox (User Action Command)
GroupBoxVP
Header
HeaderVP
Hex
HotKeyControl
HotKeyControlVP
Hour
HTML
HTMLVP
HTMLActiveX
HTMLActiveXVP
HTMLDocument
HTMLDocumentVP
HTMLHidden
HTMLHiddenVP
HTMLImage
HTMLImageVP
HTMLLink
HTMLLinkVP
HTMLTable
HTMLTableVP
If...Then...Else
'$Include
InitPlay
Input (Function)
Input (Statement)
InputBox
InputChars
InputKeys
InStr
Int
IPAddress
IPAddressVP
IPmt
IRR
Is
IsDate
IsEmpty
IsMissing
IsNull
IsNumeric
JavaCanvas
JavaCanvasVP
JavaListView
JavaListViewVP
JavaMenu
JavaMenuVP
JavaObject
JavaObjectVP
JavaPanel
JavaPanelVP
JavaPopupMenu
JavaPopupMenuVP
JavaSplitPane
JavaSplitPaneVP
JavaSplitter
JavaSplitterVP
JavaTable
JavaTableVP
JavaTableHeader
JavaTableHeaderVP
JavaTree
JavaTreeVP
JavaWindow
JavaWindowVP
Kill
Label
LabelVP
LBound
LCase
Left
Len
Let
Like
Line Input
ListBox (Statement)
ListBox (User Action Command)
ListBoxVP
ListView
ListViewVP
Loc
Lock
Lof
Log
Lset
LTrim
MenuIDSelect
MenuSelect
Mid (Function)
Mid (Statement)
Minute
MkDir
ModuleVP
Month
MsgBox (Function)
MsgBox (Statement)
Name
New
'$NoCStrings
Nothing
Now
NPV
Null
Object Class
Oct
OKButton
On...GoTo
On Error
Open
Option Base
Option Compare
Option Explicit
OptionButton
OptionGroup
Pager
PagerVP
PasswordBox
Picture
PlayJrnl
Pmt
PopupMenuIDSelect
PopupMenuSelect
PPmt
Print
Private
ProgressBar
ProgressBarVP
PSCalendar
PSCalendarVP
PSGrid
PSGridHeader
PSGridHeaderVP
PSGridVP
PSMenu
PSMenuVP
PSNavigator
PSNavigatorVP
PSPanel
PSPanelVP
PSSpin
PSSpinVP
PSTree
PSTreeHeader
PSTreeHeaderVP
PSTreeVP
PushButton (Statement)
PushButton (User Action Command)
PushButtonVP
Put
PV
RadioButton
RadioButtonVP
Randomize
Rate
Rebar
RebarVP
ReDim
RegionVP
Rem
Reset
ResetTime
Resume
RichEdit
RichEditVP
Right
RmDir
Rnd
Rset
RTrim
ScrollBar
ScrollBarVP
Second
Seek (Function)
Seek (Statement)
Select Case
SendKeys
Set
SetAttr
SetField
SetProcID
SetThinkAvg
SetTime
Sgn
Shell
Sin
Space
Spc
SpinControl
SpinControlVP
SQAConsoleClear
SQAConsoleWrite
SQADatapoolClose
SQADatapoolFetch
SQADatapoolOpen
SQADatapoolRewind
SQADatapoolValue
SQAEnvCreateBaseline
SQAEnvCreateCurrent
SQAEnvCreateDelta
SQAFindObject
SQAGetCaptionTerminatorChar
SQAGetChildren
SQAGetDir
SQAGetLogDir
SQAGetOcrRegionRect
SQAGetOcrRegionText
SQAGetProperty
SQAGetPropertyArray
SQAGetPropertyArrayAsString
SQAGetPropertyArraySize
SQAGetPropertyAsString
SQAGetPropertyNames
SQAGetSystemLong
SQAInvokeMethod
SQALogMessage
SQAQueryKey
SQAResumeLogOutput
SQAScriptCmdFailure
SQASetAssignmentChar
SQASetCaptionTerminatorChar
SQASetDefaultBrowser
SQASetProperty
SQASetSeparatorChar
SQAShellExecute
SQASuspendLogOutput
SQASyncPointWait
SQAVpGetActualFileName
SQAVpGetBaselineFileName
SQAVpGetCurrentBaselineFileName
SQAVpLog
SQAWaitForObject
SQAWaitForPropertyValue
SQLClose
SQLError
SQLExecQuery
SQLGetSchema
SQLOpen
SQLRequest
SQLRetrieve
SQLRetrieveToFile
Sqr
StartApplication
StartAppUnderCoverage
StartAppUnderNone
StartAppUnderPnC
StartAppUnderPurify
StartAppUnderQuantify
StartBrowser
StartJavaApplication
StartSaveWindowPositions
StartTimer
Static
StaticComboBox
StatusBar
StatusBarVP
Stop
StopTimer
Str
StrComp
String
Sub...End Sub
SysMenuIDSelect
SysMenuSelect
Tab
TabControl
TabControlVP
Tan
Text
TextBox
Time (Function)
Time (Statement)
Timer
TimeSerial
TimeValue
Toolbar
ToolbarVP
Trackbar
TrackbarVP
TreeView
TreeViewVP
Trim
Type
Typeof
TypingDelays
UBound
UCase
Unlock
UserDefinedTC
Val
VarType
WebSiteVP
Weekday
While...Wend
Width
Window
WindowVP
With
Write
WriteTestCaseResult
Year
Appendixes
Appendix A SQABasic Syntax Summary
Arguments
Array Dimensions
Array Elements
Array Subscripts
Comments
Context Notation
Functions
Labels
Line Continuation Syntax
Line Numbers
Names
Parameters (parameters$) Argument
Recognition Method (recMethod$) Argument
Strings
Sub Procedures
Variables of User-Defined Type
Appendix B Trappable Error Codes
Appendix C Object Scripting Status Codes
Appendix D Derived Trigonometric Functions
Appendix E Mouse Actions
MouseClick Actions
MouseDrag Actions
Index
SQABasic Language Reference VERSION 2001.03.00 PART NUMBER 800-023887-0000 support@rational.com http://www.rational.com
IMPORTANT NOTICE COPYRIGHT Copyright ©1998-2001, Rational Software Corporation. All rights reserved. Part Number: 800-023887-000 Revised 1/2001 PERMITTED USAGE THIS DOCUMENT CONTAINS PROPRIETARY INFORMATION WHICH IS THE PROPERTY OF RATIONAL SOFTWARE CORPORATION (“RATIONAL”) AND IS FURNISHED FOR THE SOLE PURPOSE OF THE OPERATION AND THE MAINTENANCE OF PRODUCTS OF RATIONAL. NO PART OF THIS PUBLICATION IS TO BE USED FOR ANY OTHER PURPOSE, AND IS NOT TO BE REPRODUCED, COPIED, ADAPTED, DISCLOSED, DISTRIBUTED, 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 PRIOR EXPRESS WRITTEN CONSENT OF RATIONAL. TRADEMARKS Rational, Rational Software Corporation, the Rational logo, Rational the e-development company, ClearCase, ClearQuest, Object Testing, Object-Oriented Recording, Objectory, PerformanceStudio, PureCoverage, PureDDTS, PureLink, Purify, Purify'd, Quantify, Rational Apex, Rational CRC, Rational PerformanceArchitect, Rational Rose, Rational Suite, Rational Summit, Rational Unified Process, Rational Visual Test, Requisite, RequisitePro, SiteCheck, SoDA, TestFactory, TestMate, TestStudio, and The Rational Watch are trademarks or registered trademarks of Rational Software Corporation in the United States and in other countries. All other names are used for identification purposes only, and are trademarks or registered trademarks of their respective companies. Microsoft, the Microsoft logo, the Microsoft Internet Explorer logo, DeveloperStudio, Visual C++, Visual Basic, Windows, the Windows CE logo, the Windows logo, Windows NT, the Windows Start logo, and XENIX are trademarks or registered trademarks of Microsoft Corporation in the United States and other countries. Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. FLEXlm and GLOBEtrotter are trademarks or registered trademarks of GLOBEtrotter Software, Inc. Licensee shall not incorporate any GLOBEtrotter software (FLEXlm libraries and utilities) into any product or application the primary purpose of which is software license management. PATENT U.S. Patent Nos.5,193,180 and 5,335,344 and 5,535,329 and 5,835,701. Additional patents pending. Purify is licensed under Sun Microsystems, Inc., U.S. Patent No. 5,404,499. GOVERNMENT RIGHTS LEGEND Use, duplication, or disclosure by the U.S. Government is subject to restrictions set forth in the applicable Rational Software Corporation license agreement and as provided in DFARS 277.7202-1(a) and 277.7202-3(a) (1995), DFARS 252.227-7013(c)(1)(ii) (Oct. 1988), FAR 12.212(a) (1995), FAR 52.227-19, or FAR 227-14, as applicable. WARRANTY DISCLAIMER This document and its associated software may be used as stated in the underlying license agreement. Rational Software Corporation expressly disclaims all other warranties, express or implied, with respect to the media and software product and its documentation, including without limitation, the warranties of merchantability or fitness for a particular purpose or arising from a course of dealing, usage, or trade practice. ii
 Contents Preface Audience...................................................................................................xxi Other Resources ......................................................................................xxi Accessing SQABasic Help .......................................................................xxi Typographical Conventions...................................................................xxiii Contacting Rational Technical Publications ......................................... xxiv Contacting Rational Technical Support ................................................ xxiv Part I Introducing SQABasic 1 What Is SQABasic? Automatic Script Generation ......................................................................... 1-1 Working with Test Scripts ............................................................................. 1-2 Your Work Environment ........................................................................ 1-2 Source and Runtime Files.............................................................................. 1-3 SQABasic Additions to the Basic Language................................................... 1-3 Other Commands Not Found in Basic.................................................. 1-4 VU Scripting Language .................................................................................. 1-4 2 Functional List Arrays.............................................................................................................. 2-1 Compiler Directives....................................................................................... 2-1 Datapool Commands (SQABasic Additions) ................................................ 2-2 Dates & Times................................................................................................ 2-2 Declarations.................................................................................................... 2-2 Dialog Box Definition.................................................................................... 2-3 Dialog Box Services........................................................................................ 2-4 iii      
Contents Disk and Directory Control........................................................................... 2-4 Dynamic Data Exchange (DDE) ................................................................... 2-5 Environmental Control.................................................................................. 2-5 Error Handling............................................................................................... 2-5 File Control .................................................................................................... 2-6 File Input/Output........................................................................................... 2-6 Financial Functions ........................................................................................ 2-7 Flow Control.................................................................................................. 2-7 Numeric and Trigonometric Functions........................................................ 2-8 Object Scripting Commands (SQABasic Additions) .................................... 2-8 Objects............................................................................................................ 2-9 ODBC ............................................................................................................ 2-9 Screen Input/Output.................................................................................... 2-10 SQABasic Commands ................................................................................. 2-10 String Conversions....................................................................................... 2-10 String Manipulation ..................................................................................... 2-11 Timing and Coordination Commands (SQABasic Additions)................... 2-12 User Action Commands (SQABasic Additions) ......................................... 2-12 Utility Commands (SQABasic Additions) .................................................. 2-15 Variants ......................................................................................................... 2-17 Verification Point Commands (SQABasic Additions) ................................ 2-17 Part II Using SQABasic 3 SQABasic Fundamentals Commands ..................................................................................................... 3-2 Arguments ...................................................................................................... 3-3 Passing Arguments By Value or By Reference....................................... 3-3 Passing Named Arguments..................................................................... 3-4 Data Types...................................................................................................... 3-5 Descriptions of SQABasic Data Types ................................................... 3-6 Variant Data Types.................................................................................. 3-7 User-Defined Data Types....................................................................... 3-8 Data Type Conversions .......................................................................... 3-9 Arrays............................................................................................................ 3-10 Declaring an Array ................................................................................ 3-10 iv SQABasic Language Reference
Contents Referencing an Array............................................................................. 3-10 Dynamic Arrays............................................................................................ 3-11 Dimensions of a Dynamic Array .......................................................... 3-11 Dynamic Array Example....................................................................... 3-11 Expressions and Operators........................................................................... 3-12 Numeric Operators............................................................................... 3-12 String Concatenation Operators........................................................... 3-12 Comparison Operators ......................................................................... 3-13 Logical Operators .................................................................................. 3-13 Scope of Variables and Constants ................................................................ 3-14 Year 2000 Compliance ................................................................................. 3-15 Suggestions for Avoiding Year 2000 Problems..................................... 3-16 Trappable Errors .......................................................................................... 3-16 Responding to Errors ............................................................................ 3-17 User-Defined Errors............................................................................. 3-17 Error-Handling Examples..................................................................... 3-17 4 SQABasic Scripts What is a Script? ............................................................................................. 4-1 Script Source Files .................................................................................. 4-2 Script Executable Files ............................................................................ 4-2 Script Structure ....................................................................................... 4-2 Sample Script .......................................................................................... 4-4 User Action and Verification Point Commands ........................................... 4-6 User Action Commands......................................................................... 4-6 Verification Point Commands ................................................................ 4-7 Syntax of User Action and Verification Point Commands .................... 4-8 Components of a Recognition Method String..................................... 4-10 Recognition Method Order .................................................................. 4-10 Recognition Methods in Java Commands............................................ 4-13 Object Context............................................................................................. 4-15 Establishing Context through a Window Command........................... 4-15 Establishing Context through Context Notation................................. 4-18 Default Context..................................................................................... 4-20 Contents v
Contents Customizing Scripts..................................................................................... 4-20 Script Editing Basics.............................................................................. 4-21 Declaring Variables and Constants ....................................................... 4-21 Adding Custom Procedures to a Script ................................................ 4-23 Adding Custom Procedures to a Library File....................................... 4-25 Using SQABasic Header Files.............................................................. 4-29 Sample Library and Header Files.......................................................... 4-32 SQABasic Path ...................................................................................... 4-33 Using the Template File ....................................................................... 4-34 5 Enhancements to Recorded Scripts Object Scripting ............................................................................................. 5-1 Specifying an Object ............................................................................... 5-2 Specifying the Object Property............................................................... 5-6 Array of Property Values......................................................................... 5-8 Getting Help Defining Recognition Methods........................................ 5-9 Object Scripting Status Codes .............................................................. 5-11 Managing Custom Verification Points ........................................................ 5-12 Summary of Verification Point Management Commands .................. 5-13 Current Baseline and Logged Baseline................................................. 5-14 Using the Verification Point Management Commands....................... 5-15 Ownership of Custom Verification Point Files.................................... 5-20 Comparing Environment States .................................................................. 5-20 Why Compare Environment States? .................................................... 5-20 What Environment State Changes Are Detected?................................ 5-21 Using the Environment State Comparison Commands...................... 5-21 Specifying the Areas of the Environment To Test............................... 5-22 Example of an Environment State Comparison................................... 5-23 Displaying Messages in Robot ..................................................................... 5-26 Displaying Messages in the Console Window...................................... 5-27 Displaying Messages in the LogViewer ................................................ 5-28 vi SQABasic Language Reference
Contents Using Datapools........................................................................................... 5-30 Summary of Datapool Commands....................................................... 5-31 Using Datapools with GUI Scripts ...................................................... 5-31 Recording a GUI Script ........................................................................ 5-32 Adding Datapool Commands to a GUI Script..................................... 5-32 Creating a Datapool .............................................................................. 5-35 Example GUI Script ............................................................................. 5-36 Accessing External Applications................................................................... 5-37 Dynamic Data Exchange (DDE) .......................................................... 5-37 Objects .................................................................................................. 5-38 Part III Command Reference 6 Command Reference Abs .................................................................................................................. 6-2 AnimateControl ............................................................................................. 6-2 AnimateControlVP......................................................................................... 6-4 AppActivate..................................................................................................... 6-6 Asc .................................................................................................................. 6-7 Assert .............................................................................................................. 6-7 Atn .................................................................................................................. 6-8 Beep................................................................................................................ 6-8 Begin Dialog...End Dialog ............................................................................. 6-9 Browser ........................................................................................................ 6-13 Button........................................................................................................... 6-16 ButtonGroup................................................................................................ 6-17 Calendar ....................................................................................................... 6-18 CalendarVP .................................................................................................. 6-19 Call ............................................................................................................... 6-21 CallScript...................................................................................................... 6-23 CancelButton ............................................................................................... 6-23 Caption ......................................................................................................... 6-25 CCur............................................................................................................. 6-26 CDbl............................................................................................................. 6-27 ChDir ........................................................................................................... 6-27 ChDrive........................................................................................................ 6-28 Contents vii
Contents CheckBox (Statement)................................................................................. 6-29 CheckBox (User Action Command)........................................................... 6-30 CheckBoxVP ................................................................................................ 6-32 Chr................................................................................................................ 6-35 CInt .............................................................................................................. 6-36 Class List....................................................................................................... 6-37 Clipboard...................................................................................................... 6-37 ClipboardVP................................................................................................. 6-38 CLng............................................................................................................. 6-39 Close............................................................................................................. 6-40 ComboBox (Statement)............................................................................... 6-41 ComboBox (User Action Command)......................................................... 6-43 ComboBoxVP .............................................................................................. 6-45 ComboEditBox ............................................................................................ 6-48 ComboEditBoxVP........................................................................................ 6-50 ComboListBox ............................................................................................. 6-53 ComboListBoxVP ........................................................................................ 6-56 Command .................................................................................................... 6-58 Const ............................................................................................................ 6-59 Cos................................................................................................................ 6-60 CreateObject ................................................................................................ 6-61 CSng............................................................................................................. 6-62 CStr .............................................................................................................. 6-63 '$CStrings ..................................................................................................... 6-64 CurDir.......................................................................................................... 6-65 CVar.............................................................................................................. 6-66 CVDate......................................................................................................... 6-67 DataWindow................................................................................................. 6-68 DataWindowVP............................................................................................ 6-72 Date (Function)............................................................................................ 6-74 Date (Statement) .......................................................................................... 6-75 DateSerial ..................................................................................................... 6-76 DateTime ..................................................................................................... 6-77 DateTimeVP................................................................................................. 6-78 DateValue ..................................................................................................... 6-79 viii SQABasic Language Reference
分享到:
收藏