Download WM Basic™ User`s Manual

Transcript
Index
used when converting to number, 288
used when declaring literals, 305–6
used with Dim (statement), 161
used with external subroutines and functions, 145
UBound (function), 466–67
used with OLE arrays, 466
UCase, UCase$ (functions), 467
unary minus operator, 52–53
underflow, 55
undo
in Dialog Editor, 674
in Script Editor, 631–32
uninitialized objects, 343, 345
Nothing (constant), 339
testing for with Is (operator), 283
universal date format
reading, 275
used with literals, 129, 305
writing, 492
Unlock (statement), 467–69
unlocking file regions, 467–69
unsupported language elements, 123
UPDATE (SQL statement), 434, 440
uppercasing strings, 467
user dialogs
automatic timeout for, 160
available controls in, 88
Begin Dialog (statement), 88–90
CheckBox (statement), 99–101
ComboBox (statement), 109–10
control outside bounds of, 172
creating, 88–90
default button for, 159
Dialog (function), 159–60
Dialog (statement), 160–61
dialog procedures of, 171–74
DlgControlId (function), 159–60
DlgEnable (function), 167–68
DlgEnable (statement), 168–69
DlgFocus (function), 169
DlgFocus (statement), 169–70
DlgListBoxArray (function), 170
DlgListBoxArray (statement), 170–71
DlgProc (function), 171–74
DlgSetPicture (statement), 174–76
DlgText (statement), 176–77
DlgText$ (function), 177–78
DlgValue (function), 178
DlgValue (statement), 178–79
DlgVisible (function), 179–80
DlgVisible (statement), 180–82
DropListBox (statement), 186–88
expression evaluation within, 90
GroupBox (statement), 265–66
idle processing for, 173, 691
invoking, 159–60–61
list of language elements, 16–17
ListBox (statement), 301–3
nesting capabilities of, 174
OKButton (statement), 347–48
OptionButton (statement), 358–59
OptionGroup (statement), 361–62
Picture (statement), 363–65
PictureButton (statement), 365–67
pressing Enter within, 348
pressing Esc within, 95
PushButton (statement), 380–81
required statements within, 89
showing, 172
Text (statement), 458–59
TextBox (statement), 459–61
user-defined errors
converting to, 127–28
generating, 218–19
printing, 371
printing to sequential files, 373
reading from binary/random files, 252
reading from sequential files, 275
testing for, 285–86
writing to random/binary files, 383
writing to sequential files, 492
user-defined functions. See functions
user-defined types, 470–71
copying, 470
declaring, 470
defining, 465–66
getting size of, 294–96, 471
passing, 471
Val (function), 471–72
Value (property), 269–70
variables
assigning objects, 420–21
declaring
as local, 161–63
as private, 376–77
as public, 377–80
with Dim, 161–63
with Private (statement), 376–77
with Public (statement), 377–80
getting storage size of, 294–96
implicit declaration of, 161
initial values of, 162, 377, 379
781