Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents
Up: The Glish 2.7 User Manual DRAFT Previous: Glish Syntax and Grammar


Index

\f formfeed escape
Escape Sequences
\n newline escape
Escape Sequences
- argument to Glish interpreter
The Glish Interpreter
+ RE repetition
Ranges
+ RE repetition
Repetition
+? RE repetition
Greedy and Lazy Matching
+ addition operator
Arithmetic Operators
+ Glish interpreter continuation prompt
Using Glish Interactively
+ unary operator
Arithmetic Operators | Unary Operators
- Glish interpreter prompt
Using Glish Interactively
- subtraction operator
Arithmetic Operators
- unary operator
Arithmetic Operators | Unary Operators
* RE repetition
Repetition
*? RE repetition
Greedy and Lazy Matching
* every-event designator
Event Syntax
* multiplication operator
Arithmetic Operators
* same-name in link statement
Point-to-Point Communication
/ division operator
Arithmetic Operators
% modulus operator
Arithmetic Operators
^ exponentiation operator
Arithmetic Operators
^ RE match start
Ranges
$ RE match end
Ranges
$1 RE substitution variables
Grouping and Alternation
$m RE match variable
Grouping and Alternation
-> event designator
Event Syntax
. RE any character
Ranges
. record field access operator
Accessing Fields Using ``.'' | Accessing Fields Using ``.'' | Indexing
: sequence operator
Creating Vectors | Integer Sequence Expressions
and vector indexing
Integer Indices
:: attribute operator
Accessing Attributes Using ``::''
:= assignment operator
Assignment Expressions
& ``and'' operator
Logical Operators
&& short-circuit ``and''
Logical Expressions
"| ``or'' operator
Logical Operators
"|"| short-circuit ``or''
Logical Expressions
! ``not'' operator
Unary Operators
<
Glish Syntax and Grammar
problems
Point-to-Point Communication
system global variable
path.bin
The client Function
UNIX programs
running unmodified as Glish clients
The shell Function
fail
predefined event
Predefined Events
subsequence
Subsequences
subseq
as abbreviation for subsequence
Subsequences
fail
statement
fail Statement
fail
automatic propagation
fail Statement
fail
disable automatic propagation
fail Statement
system global variable
output.log
Input/Output Logging
system global variable
output.olog
Input/Output Logging
system global variable
output.ilog
Input/Output Logging
system global variable
output.ilog
to Input/Output Logging
system global variable
output.olog
to Input/Output Logging
system global variable
output.log
to Input/Output Logging
system global variable
output.trace
Trace
system global variable
output.trace
to Trace
atoi()
Integer Conversions
atof()
Float and Double Conversions
atof()
Complex Conversions
T
Numeric Constants
F
Numeric Constants
getenv()
Global Variables
system global variable
tk
Introduction
system global variable
tk
to Introduction
system global variable
tk
Version Number and Utility
system global variable
tk
to Version Number and Utility
gdb
Debugging Clients
dbx
Debugging Clients
editline
Command Line Editing
Value class
The Glish Client Library
Client class
The Glish Client Library
GlishEvent class
The Glish Client Library
Proxy class
The Glish Client Library
ProxyStore class
The Glish Client Library
Client.h header
The Glish Client Library
Value.h header
The Glish Client Library
argc, passed to Client constructor
An Overview of the
argv, passed to Client constructor
An Overview of the
select()
An Overview of the
argc, passed to Client constructor
Standard Client Member Functions
argv, passed to Client constructor
Standard Client Member Functions
argv, passed to Client constructor
Standard Client Member Functions
stdin
events for stand-alone clients
Standard Client Member Functions
stdout
events for stand-alone clients
Standard Client Member Functions
select()
Multiplexing Input Sources
fd_set
Multiplexing Input Sources
glish_bool enumerated type
Constructing Value Objects
byte type
Constructing Value Objects
complex type
Constructing Value Objects
dcomplex type
Constructing Value Objects
Complex.h header
Constructing Value Objects
realloc()
Constructing Value Objects
delete
Constructing Value Objects
delete
Basic Value Operations
delete
Type Conversions
[]() member function
see Value class, member functions
glishd remote daemon
Creating and Controlling Remote
glishd remote daemon
root mode
glishd Started by Root
glishd remote daemon
accept port (2833)
glishd Started by Root
system global variable
path.key
glishd Started by Root
glishd remote daemon
user mode
glishd Started by the
rsh command
glishd Started by the
remsh command
glishd Started by the
glishd remote daemon
events
glishd Events
setwd event sent to glishd
glishd Events
setbinpath event sent to glishd
glishd Events
setldpath event sent to glishd
glishd Events
client event sent to glishd
glishd Events
client event sent to glishd
glishd Events
kill event sent to glishd
glishd Events
ping event sent to glishd
glishd Events
shell event sent to glishd
glishd Events
shell_out event sent by glishd
glishd Events
probe event sent to glishd
glishd Events
glishd remote daemon
to glishd Events
glish.init initialization file
Initializing the Interpreter
printf() (proposed)
Future Directions
system global variable
path.include
include Expression
system global variable
path.include
to include Expression
system global variable
print.precision
Print Precision
system global variable
print.limit
Print Limit
else
Conditionals
continue
as synonym for next
Controlling Loop Execution
fail
statement
fail Statement
fail
automatic propagation
fail Statement
function
Function Definitions
func
as abbreviation for function
Function Definitions
\t tab escape
Escape Sequences
\r carriage-return escape
Escape Sequences
= default parameter value
Parameter Defaults
= record field name
Record Constants
== equality operator
Comparison Operators | Relational Expressions
"!= inequality operator
Comparison Operators | Relational Expressions
< less-than operator
Comparison Operators
<= less-or-equal operator
Comparison Operators
> greater-than operator
Comparison Operators
>= greater-or-equal operator
Comparison Operators
? RE repetition
Repetition
?? RE repetition
Greedy and Lazy Matching
() RE group
Grouping and Alternation
(?: ) RE no match var group
Grouping and Alternation
(?! ) RE negative lookahead
Lookahead
(?= ) RE positive lookahead
Lookahead
(?i) RE case insensitive
Substitution
(?# ) RE comment
Comments
{} grouping statements
Statements
{} RE repetition
Repetition
{}? RE repetition
Greedy and Lazy Matching
[] RE range
Ranges
[] indexing operator
Accessing Vector Elements | Modifying Vector Elements | Indexing
[] record creation operator
Record Constants
[] record creation operator (proposed)
Future Directions
[] record field access operator
Accessing Fields Using [] | Accessing Fields Using Numeric | Accessing Fields Using Numeric
[] vector creation operator
Creating Vectors
{
Glish Syntax and Grammar
abs() function
Manipulating Vectors and Arrays
acos() function
Manipulating Vectors and Arrays
activate statement
activate and deactive Statements | activate and deactivate Statements
active_agents() function
Manipulating Agents
AddInputMask() member function
see Client class, member functions
$agent
Event Expressions | $agent, $name, and $value
agent values
returned by subsequences
Subsequences
agents
Agents to Agent Records
associated whenever statements
Manipulating Agents
comparisons
Relational Expressions
creating
The agent Type
functions to manipulate
Manipulating Agents to Manipulating Agents
list of active
Manipulating Agents
records
Agent Records
vectors of
Accessing Fields Using Numeric
all() function
Manipulating Vectors and Arrays
alphabetic summary of functions
Alphabetic Summary of Functions to Alphabetic Summary of Functions
any() function
Manipulating Vectors and Arrays
arg() function
Manipulating Vectors and Arrays
arguments
to Glish scripts
The Glish Interpreter
argv global variable
Global Variables
array() function
Creating Arrays to Creating Arrays | Manipulating Vectors and Arrays
array_storage_type enumerated type
Constructing Value Objects
arrays
Arrays to Operators and Boolean Indices
shape attribute
Slice Indexing with a
shape attribute
to Slice Indexing with a
not matrices
Arrays as Vectors
const
Constant Arrays and Vectors
const
to Constant Arrays and Vectors
arithmetic operators
Operators and Boolean Indices to Operators and Boolean Indices
as vectors
Arrays as Vectors to Arrays as Vectors
boolean indices
Operators and Boolean Indices to Operators and Boolean Indices
comparison operators
Operators and Boolean Indices to Operators and Boolean Indices
creating
Creating Arrays to Creating Arrays
element indexing
with an array
Element Indexing with an to Element Indexing with an
with subscripts
Element Indexing with Subscripts to Element Indexing with Subscripts
indexing
Indexing Arrays to Slice Indexing with a
logical operators
Operators and Boolean Indices to Operators and Boolean Indices
slice indexing
with a record
Slice Indexing with a to Slice Indexing with a
with subscripts
Slice Indexing with Subscripts to Slice Indexing with Subscripts
vector/shape mismatch
Arrays as Vectors to Arrays as Vectors
as_boolean() function
Type Conversion
as_byte() function
Type Conversion
as_complex() function
Type Conversion
as_dcomplex() function
Type Conversion
as_double() function
Type Conversion
as_float() function
Type Conversion
as_integer() function
Type Conversion
as_short() function
Type Conversion
as_string() function
Type Conversion
ascii= option for reading and writing values (proposed)
Future Directions
asin() function
Manipulating Vectors and Arrays
AssignAttribute() member function
see Value class, member functions | see Value class, member functions
AssignElements() member function
see Value class, member functions
assignment
Assignment Expressions to Compound Assignment
lvalue
Assignment Syntax
cascading
Cascaded Assignments to Cascaded Assignments
changing a variable's type
Dynamic Typing
compound
Compound Assignment to Compound Assignment
compound (proposed)
Future Directions
length compatibility
Assignment Syntax
of functions
Functions and Function Calls
syntax
Assignment Syntax | Request Expressions
to multiple elements
Assigning Multiple Elements | Assigning Multiple Elements
to multiple record fields
Accessing and Modifying Multiple | Assignment Syntax
to references
Breaking References | Assigning reference Values to Assigning reference Values
type compatibility
Assigning Multiple Elements
type conversions
Assigning Multiple Elements
async= client argument
The client Function
async= shell argument
The shell Function
asynchronous shell clients
The shell Function to The shell Function | The ``Shell" Client to The ``Shell" Client
atan() function
Manipulating Vectors and Arrays
AttributePtr() member function
see Value class, member functions
attributes
Attributes to Cascaded Attributes
access all at once
Accessing All Attributes to Accessing All Attributes
access with string subscripts
Accessing Attributes Using []
accessing
Accessing Attributes Using ``::''
assigning all at once
Accessing All Attributes to Accessing All Attributes
cascading
Cascaded Attributes to Cascaded Attributes
deleting
Accessing All Attributes to Accessing All Attributes
system defined
shape
Slice Indexing with a
shape
Slice Indexing with a
shape
to Slice Indexing with a
print.precision
Print Precision
print.limit
Print Limit
await statement
Await Statements | await Statement | Interaction with whenever
only
Usage
as an expression (proposed)
Future Directions
nested
Interaction with whenever
only ... except
Usage
suspending execution
How Glish Executes a
birelay_all() function
Manipulating Agents
birelay_event() function
Manipulating Agents
BoolPtr() member function
see Value class, member functions
BoolVal() member function
see Value class, member functions
Bourne shell
Functions and Function Calls | Manipulating Agents
break statement
Controlling Loop Execution
bugs
eval
eval Function
known
Bugs to Bugs
missing features
attributes
Accessing All Attributes
BytePtr() member function
see Value class, member functions
ByteVal() member function
see Value class, member functions
C++ glish_bool type
see glish_bool enumerated type
C++ byte type
see byte type
C++ complex type
see complex type
C++ dcomplex type
see dcomplex type
cbind() function
Manipulating Vectors and Arrays
ceiling() function
Integer Conversions
changes
between Glish releases
Changes Between Glish Releases to Release 2.2
Client class
access to file descriptors
An Overview of the
constructor
An Overview of the | Standard Client Member Functions
destructor
Standard Client Member Functions
details
The Client Class to Shared Clients
indication of no more events
Standard Client Member Functions
member functions
AddInputMask()
Multiplexing Input Sources
Error()
An Overview of the | Standard Client Member Functions | Standard Client Member Functions
EventSources()
Shared Clients
FD_Change()
Multiplexing Input Sources
HasClientInput()
Multiplexing Input Sources
HasEventSource()
Standard Client Member Functions
HasInterpreterConnection()
Standard Client Member Functions
Incomplete()
Future Directions
LastContext()
Shared Clients
NextEvent()
An Overview of the | An Example of a | An Example of a | Standard Client Member Functions | Multiplexing Input Sources | Shared Clients
PostEvent()
An Overview of the | Standard Client Member Functions | Standard Client Member Functions | Standard Client Member Functions | Standard Client Member Functions
Reply()
An Overview of the | Standard Client Member Functions
ReplyPending()
An Overview of the | Standard Client Member Functions
Shared()
Shared Clients
Unrecognized()
An Overview of the | Standard Client Member Functions
multiplexing input sources
Multiplexing Input Sources to Multiplexing Input Sources
overview
An Overview of the to An Overview of the
shared between interpreters
Shared Clients to Shared Clients
client() function
The agent Type | The client Function | Manipulating Agents
optional arguments
The client Function
client library
Introduction | The Glish Client Library to Available Glish Clients
clients
asynchronous
The client Function
available
Available Glish Clients to Available Glish Clients
echo_client
Available Glish Clients
gtk
Available Glish Clients
test_client
Available Glish Clients
timer
Available Glish Clients
compiling
An Example of a
controlling internals
Creating and Controlling Remote to glishd Events
creating
Creating Clients to The shell Function
internals
Creating and Controlling Remote to glishd Events
with shell()
The shell Function
with shell()
to The shell Function
debugging
Standard Client Member Functions
error detection
Predefined Events
establishment
Predefined Events
indicating failure
Standard Client Member Functions
input available
Multiplexing Input Sources
interpreting executable name
The client Function
joining a running script (proposed)
Future Directions
linking
An Example of a
pinging
The client Function
running on remote hosts
The client Function
script
Script Clients to Script Clients
shared
Shared Clients to Shared Clients | Shared Clients
source code
Available Glish Clients
special arguments
An Overview of the
stand-alone
Standard Client Member Functions | Standard Client Member Functions | Standard Client Member Functions
suppressing
Suppressing Stand-Alone Client Behavior
standard header
The Glish Client Library
standard input
The client Function
suspending
The client Function
attaching to
Debugging Clients
termination
forced
Predefined Events
successful
Predefined Events
unsuccessful
Predefined Events
CoerceToBoolArray() member function
see Value class, member functions
CoerceToByteArray() member function
see Value class, member functions
CoerceToComplexArray() member function
see Value class, member functions
CoerceToDcomplexArray() member function
see Value class, member functions
CoerceToDoubleArray() member function
see Value class, member functions
CoerceToFloatArray() member function
see Value class, member functions
CoerceToIntArray() member function
see Value class, member functions
CoerceToShortArray() member function
see Value class, member functions
CoerceToStringArray() member function
see Value class, member functions
command line editing
Command Line Editing to Command Line Editing
comments
Glish Syntax and Grammar | Glish Syntax and Grammar
complex() function
Manipulating Vectors and Arrays
ComplexPtr() member function
see Value class, member functions
ComplexVal() member function
see Value class, member functions
conditionals
Conditionals to Conditionals
evaluation of condition
Conditionals
conj() function
Manipulating Vectors and Arrays
connection_lost event
Global Variables
connection_restored event
Global Variables
const
C++ constant pointers
Basic Value Operations | Manipulating Records
constant
references
Constant References to Constant References
values
Constant Values to Constant References
constants
numeric
Numeric Constants
boolean
Numeric Constants | Numeric Constants
complex
Numeric Constants
floating-point
Numeric Constants
integer
Numeric Constants
record
Record Constants to Record Constants
string
String Constants to String Constants
double-quoted
String Constants
empty vs. no elements
Boolean Conversions
single-quoted
String Constants
copy-on-write
Copy On Write | Constructing Value Objects
COPY_ARRAY enumeration constant
Constructing Value Objects
copy_value() function
An Overview of the
copying vectors
Constructing Value Objects
copyright
command-line editing
Command-line Editing to Command-line Editing
Glish
Glish to Glish
regular expressions
Regular Expressions to Henry Spencer
cos() function
Manipulating Vectors and Arrays
create_agent() function
The agent Type | Subsequences | Manipulating Agents
create_record() function
An Overview of the | Constructing Value Objects
current_whenever() function
Manipulating Agents
daemon_terminated event
Global Variables
dangling else
Conditionals
deactivate statement
activate and deactive Statements | activate and deactivate Statements
debugging
Debugging Glish Scripts and to The Event Monitor
DeleteAttribute() member function
see Value class, member functions | see Value class, member functions
Deref() member function
see Value class, member functions
distributed systems
loosely-coupled
Introduction
done predefined event
Predefined Events
DoublePtr() member function
see Value class, member functions
dynamic typing
Dynamic Typing to Dynamic Typing
e global variable
Global Variables
echo_client client
see clients, available
ellipsis
Extra Arguments to Extra Arguments
allowed operations
Extra Arguments
default values
Extra Arguments
expanded as list of const references
Extra Arguments
manipulation functions
Manipulating Variable Argument Lists to Manipulating Variable Argument Lists
matching following parameters
Extra Arguments
remembering bindings (proposed)
Future Directions
vector construction
Extra Arguments
else
dangling
Conditionals
empty statement
Empty Statement
environ global variable
Global Variables
environment
in which a Glish script runs
Global Variables
environment variables
command-line bindings
The Glish Interpreter
modifying
Global Variables
EOF event to shell client
The ``Shell" Client
EOF shell event
The shell Function
error detection
Predefined Events
Error() member function
see Client class, member functions
errors
seq resulting in too many elements
Manipulating Vectors and Arrays
array index out of range
Accessing Vector Elements
conversion of non-numeric type
Type Conversions
event without matching whenever (warning)
Predefined Events
memory management
Constructing Value Objects to Constructing Value Objects
multiple element assignment mismatch
Assigning Multiple Elements
non-numeric treated as numeric
Basic Value Operations
out-of-bounds array reference
Basic Value Operations
record assignment mismatch
Accessing and Modifying Multiple
record index out of range
Accessing Fields Using Numeric
type mismatches
Type Conversions
variable used before set (warning)
Atomic Expressions
vector-index-mask size mismatch
Boolean Indices
vectors with different sizes
Element-by-Element Vector Operations
escape sequences
String Constants
escape sequences (proposed)
Future Directions
established predefined event
Predefined Events
``event interface''
An Example of Using
event loop
An Example of a
event monitor
The Event Monitor
event values
Send Expressions
event-oriented style
Events
event_in monitor event
The Event Monitor
event_out monitor event
The Event Monitor
events
Introduction | Events to Subsequences
as messages
What is an ``Event"?
attributes
What is an ``Event"?
definition of
What is an ``Event"?
designators
Event Syntax | Event Syntax
possible future changes
Future Directions
flow of
actual
An Example of Using
conceptual
An Example of Using
inter-client encoding restrictions
Binary I/0
introduction
An Example of Using
name/value pair
What is an ``Event"?
naming
Send Expressions | Event Syntax
order of processing
How Glish Executes a to How Glish Executes a
order preserved
How Glish Executes a
out-of-band (proposed)
Future Directions
pending
Multiplexing Input Sources
receiving
Request Expressions to Request Expressions | Receiving Events to Await Statements | whenever Statement to Interaction with whenever
receiving every event from an agent
Event Syntax
recording (proposed)
Future Directions
request/reply
Request Expressions to Request Expressions
sending
Request Expressions to Request Expressions | Sending Events to Sending Events | Send Expressions to Send Expressions
naming values
Sending Events
unrecognized
Predefined Events | An Overview of the | Standard Client Member Functions
values
Send Expressions
when read by interpreter
How Glish Executes a
EventSources() member function
see Client class, member functions
example
await only
Usage
full_type_name() function
Type Identification
seq() function
Manipulating Vectors and Arrays
split() function
split and paste
relay() function
Manipulating Agents
argv global
Global Variables
Value::AssignElements
Accessing and Assigning Elements
timer client
Available Glish Clients
shell() function
Functions and Function Calls
for loops
For Loops
for loops
to For Loops
link statement
An Example of Using
unlink statement
An Example of Using
array indexing
with a record
Slice Indexing with a
with an array
Element Indexing with an
with subscripts
Element Indexing with Subscripts | Slice Indexing with Subscripts
asynchronous client
The client Function
asynchronous shell client
The shell Function
await only ... except
Usage
boolean mask
An Example of Using
client indicating an error
Standard Client Member Functions
client's internals
An Example of a to An Example of a
compiling a client
An Example of a
computing absolute value using vector masks
Assigning Multiple Elements
creating a record
Record Constants
creating an agent
Manipulating Agents
creating an array
Creating Arrays to Creating Arrays
creating attributes
Accessing Attributes Using ``::'' to Accessing Attributes Using ``::''
data transformation with Glish
An Example of Using
deactivating whenever statements
Manipulating Agents
deactivating whenever statements
Manipulating Agents
debugging
Debugging Clients
deleting attributes
Accessing All Attributes to Accessing All Attributes
detecting network outages
Global Variables
environment variable bindings
The Glish Interpreter
function variables which persist
Persistent Local Variables
function with ref parameter
Using ref Parameters
function with variable arguments
Extra Arguments | Extra Arguments
indexing vector with another vector
Integer Indices | Boolean Indices
linking a client
An Example of a
multiple execution of whenever
Execution of whenever
multiplexing input sources
Multiplexing Input Sources
nested await statements
Interaction with whenever
of using functions
Simple Examples to Simple Examples
of using Glish
An Example of Using
order of execution
How Glish Executes a to How Glish Executes a
point-to-point links
An Example of Using
receiving events
Processing Asynchronous Events to Processing Asynchronous Events
record assignment
Accessing and Modifying Multiple
references
breaking
Breaking References | Breaking References
maintaining
Explicitly Maintaining References | Explicitly Maintaining References
partial value
Creating References
to record field
Creating References
to record fields
Explicitly Maintaining References
whole value
Creating References
reversing fields of a record
Accessing and Modifying Multiple
script client
Script Clients to Script Clients
script execution
How Glish Executes a
setting record fields
Manipulating Records
subsequences
Subsequences
and create_agent()
Subsequences
three intercommunicating processes
An Example of Using
two intercommunicating processes
An Example of Using
using Glish interactively
Using Glish Interactively
exception-handling
for await and request/reply (proposed)
Future Directions
ExistingAttribute() member function
see Value class, member functions | see Value class, member functions
ExistingRecordElement() member function
see Value class, member functions
exit statement
exit Statement | How Glish Executes a
exp() function
Manipulating Vectors and Arrays
expressions
Expressions to include Expression
arithmetic
Arithmetic Expressions
as statements
Expressions as Statements
atomic
Atomic Expressions
event
Event Expressions
functions
Functions and Function Calls | Function Definitions
indexing
Indexing
integer sequence
Integer Sequence Expressions
logical
Logical Expressions
precedence
Precedence to Precedence
references
Reference Expressions
regular
Regular Expressions
relational
Relational Expressions
short-circuit
Logical Expressions
unary
Unary Operators
FD_Change() member function
see Client class, member functions
FFT server
Introduction | An Example of a to An Example of a
Field() member function
see Value class, member functions
field_names() function
Accessing Fields Using ``.'' | Type Identification
FieldBoolPtr() member function
see Value class, member functions
FieldBytePtr() member function
see Value class, member functions
FieldComplexPtr() member function
see Value class, member functions
FieldFloatPtr() member function
see Value class, member functions
FieldIntPtr() member function
see Value class, member functions
FieldShortPtr() member function
see Value class, member functions
FieldStringPtr() member function
see Value class, member functions
FieldVal() member function
see Value class, member functions
filters
Introduction
FloatPtr() member function
see Value class, member functions
FloatVal() member function
see Value class, member functions
floor() function
Integer Conversions
for statement
For Loops
philosophy
For Loops
formatting (proposed)
Future Directions
fprintf() function
Writing
full_type_name() function
Type Identification
functions
Functions to Persistent Local Variables
nth_arg() function
Extra Arguments
nth_arg() function
to Extra Arguments
missing() function
Missing Parameters
missing() function
to Missing Parameters
as data type
Functions
as expressions
Functions and Function Calls to Functions and Function Calls | Function Definitions
body
The Function Body to Persistent Local Variables
as expression
The Function Body
as statement block
The Function Body
comparisons
Relational Expressions
defined with function keyword
Function Definitions
definition syntax
Function Definitions
names
global
Function Names
optional
Function Names
parameter matching
by name
Parameter Names | Parameter Defaults
left-to-right
Parameter Names
parameters
Function Parameters to Extra Arguments
ref
Parameter Types
val
Parameter Types
const
Parameter Types
default type as val
Parameter Types
defaults
Parameter Defaults
formal
Function Parameters
names
Parameter Names
only specified once in a call
Parameter Defaults
passing efficiency
Parameter and Return Value
types
Parameter Types to Using ref Parameters
return
efficiency
Parameter and Return Value
variables surviving due to whenever
Persistent Local Variables
vectors of
Accessing Fields Using Numeric
GetOrCreateAttribute() member function
see Value class, member functions | see Value class, member functions
Glish
acknowledgments
Acknowledgments to Acknowledgments
copyright
see copyright
flexibility
Introduction
grammar
Glish Syntax and Grammar | Glish Syntax and Grammar to Glish Syntax and Grammar
installation
Installing and Porting Glish
internals
Internals to Installing and Porting Glish
invoking
The Glish Interpreter
main goals
An Example of Using
porting requirements
Installing and Porting Glish
references
Introduction
simple example
An Example of Using
syntax
Glish Syntax and Grammar | Glish Syntax and Grammar to Glish Syntax and Grammar
system, elements of
Introduction
using
Using Glish to The Event Monitor
-glish client argument
Suppressing Stand-Alone Client Behavior
Glish/Tk
see tk
glish_false enumeration constant
Constructing Value Objects
$glish_monitor environment variable
The Event Monitor
glish_true enumeration constant
Constructing Value Objects
glish_type enumerated type
Basic Value Operations
GlishEvent class
constructor
The GlishEvent Class
member functions
IsRequest()
The GlishEvent Class
Name()
The GlishEvent Class
Val()
The GlishEvent Class
member variables
name
The GlishEvent Class
value
The GlishEvent Class
memory management
The GlishEvent Class | The GlishEvent Class
overview
The GlishEvent Class to The GlishEvent Class
returned by Client::NextEvent()
Standard Client Member Functions
.glishrc initialization file
The Glish Interpreter | The Glish Interpreter
$GLISHROOT environment variable
The Glish Interpreter
global variables
pi
Global Variables
e
Global Variables
argv
Global Variables
environ
Global Variables
system
Global Variables
script
Global Variables
gtk client
see clients, available
has_field() function
Type Identification
HasAttribute() member function
see Value class, member functions
HasClientInput() member function
see Client class, member functions
HasEventSource() member function
see Client class, member functions
HasInterpreterConnection() member function
see Client class, member functions
have_gui() function
Version Number and Utility
headers
Client.h
The Glish Client Library
Value.h
The Glish Client Library
Complex.h
Constructing Value Objects
-help flag to Glish interpreter
The Glish Interpreter
host= client argument
The client Function
host= shell argument
The shell Function
I/O
Input and Output to File Information
if statement
Conditionals
... else
Conditionals
imag() function
Numeric Types | Manipulating Vectors and Arrays
in operator (proposed)
Future Directions
include
path
include Expression to include Expression
include expression
include Expression
Incomplete() member function
see Client class, member functions
ind() function
Integer Indices | Manipulating Vectors and Arrays
-info flag to Glish interpreter
The Glish Interpreter
information
system
Global Variables
input and output
Input and Output to File Information
input= client argument
The client Function
input= shell argument
The shell Function
internal event
*link-sink*
Transmitting Events
*rendezvous*
Transmitting Events
*rendezvous-resp*
Transmitting Events
*rendezvous-orig*
Transmitting Events
*unlink-sink*
Transmitting Events
interpreter
Introduction | The Glish Interpreter to The Glish Interpreter
- argument separator
The Glish Interpreter
as a client
Script Clients
connection broken
Standard Client Member Functions
environment in which scripts run
Global Variables
environment variable bindings
The Glish Interpreter
execution of scripts
How Glish Executes a to How Glish Executes a
exiting automatically
How Glish Executes a
.glishrc file
The Glish Interpreter
-help flag
The Glish Interpreter
-info flag
The Glish Interpreter
initialization
Initializing the Interpreter
-l load flag
The Glish Interpreter
-noaf disable auto fail propagation
fail Statement
prompt
Using Glish Interactively
running interactively
Using Glish Interactively
user-customization
The Glish Interpreter
-v verbose flag
The Glish Interpreter
version
Global Variables
-version flag
The Glish Interpreter
-vf verbose flag
The Glish Interpreter
-vi verbose flag
The Glish Interpreter
-w verbose flag
The Glish Interpreter
interprocess communication
Transmitting Events
IntPtr() member function
see Value class, member functions
IntVal() member function
see Value class, member functions
is_agent() function
Type Identification
is_asciifile() function
File Information
is_boolean() function
Type Identification
is_byte() function
Type Identification
is_complex() function
Type Identification
is_const() function
Type Identification
is_dcomplex() function
Type Identification
is_defined() function
Manipulating Symbols
is_double() function
Type Identification
is_fail() function
fail Statement | Type Identification
is_file() function
Opening Files | Type Identification
is_float() function
Type Identification
is_function() function
Type Identification
is_integer() function
Type Identification
is_modifiable() function
Type Identification
is_nan() function
Type Identification
is_numeric() function
Type Identification
is_record() function
Type Identification
is_regex() function
~ Operator | Type Identification
is_short() function
Type Identification
is_string() function
Type Identification
IsConst() member function
see Value class, member functions
IsNumeric() member function
see Value class, member functions
IsRef() member function
see Value class, member functions
IsRequest() member function
see GlishEvent class, member functions
IsVecRef() member function
see Value class, member functions
-l flag to Glish interpreter
The Glish Interpreter
last_whenever_executed() function
Manipulating Agents
LastContext() member function
see Client class, member functions
length() function
Length of a Vector | Accessing Fields Using ``.'' | Manipulating Vectors and Arrays
abbreviated as len()
Length of a Vector
multiple parameters
Length of a Vector
Length() member function
see Value class, member functions
link statement
link and unlink Statements | Point-to-Point Communication
destination of *
Point-to-Point Communication
example
An Example of Using
implementation
Transmitting Events
multiple execution
Point-to-Point Communication
*link-sink* event
Transmitting Events
ln() function
Manipulating Vectors and Arrays
log
command
Input/Output Logging to Input/Output Logging
execution
Trace to Trace
output
Input/Output Logging to Input/Output Logging
log() function
Manipulating Vectors and Arrays
! ``not'' operator
Logical Operators
operand conversion
Logical Operators
loops
Loops to Controlling Loop Execution
controlling execution
Controlling Loop Execution to Controlling Loop Execution
max() function
Manipulating Vectors and Arrays
memory management
Constructing Value Objects | Accessing and Assigning Elements | Accessing and Assigning Elements | Accessing and Assigning Elements
Ref() function
An Overview of the
Unref() function
An Overview of the
Unref() function
instead of delete
An Overview of the
errors
Constructing Value Objects to Constructing Value Objects
min() function
Manipulating Vectors and Arrays
missing() function
Missing Parameters | Manipulating Variable Argument Lists
ModAttributePtr() member function
see Value class, member functions
modularity
An Example of Using | Events
module facility (proposed)
Future Directions
$name
Event Expressions | $agent, $name, and $value
used with *
$agent, $name, and $value
Name() member function
see GlishEvent class, member functions
names
case-sensitive
Accessing Fields Using ``.'' | Atomic Expressions
of variables
Atomic Expressions
network outages
detecting
Global Variables | Global Variables | glishd Events
NewFieldName() member function
see Value class, member functions
next statement
Controlling Loop Execution
NextEvent() member function
see Client class, member functions
-noaf flag to Glish interpreter
fail Statement
-noglish client argument
Standard Client Member Functions | Suppressing Stand-Alone Client Behavior
nth_arg() function
Extra Arguments | Manipulating Variable Argument Lists
NthField() member function
see Value class, member functions
NthFieldName() member function
see Value class, member functions
num_args() function
Extra Arguments | Manipulating Variable Argument Lists
operators
arithmetic
Arithmetic Operators to Arithmetic Operators | Arithmetic Expressions
associativity
Arithmetic Operators
operand conversion
Arithmetic Operators
precedence
Arithmetic Operators
comparison
Comparison Operators to Comparison Operators | Relational Expressions
associativity
Comparison Operators
boolean ordering
Comparison Operators
operand conversion
Comparison Operators
precedence
Comparison Operators
logical
Logical Operators to Logical Operators | Logical Expressions
associativity
Logical Operators
operands
Logical Operators
precedence
Logical Operators
precedence
Precedence to Precedence
proposed
Future Directions
short-circuit
Logical Expressions
string
String Operators
unary
Unary Operators
order() function
Manipulating Vectors and Arrays
Ousterhout, John
Introduction
output
control
Printing to Print Limit
paste() function
split and paste
optional sep= argument
split and paste
pi global variable
Global Variables
ping= client argument
The client Function
ping= shell argument
The shell Function
pipes
client connection
Transmitting Events
point-to-point links
Point-to-Point Communication
suspending and restoring
Point-to-Point Communication
Polymorph() member function
see Value class, member functions
ports
daemon port (2833)
glishd Started by Root
possible future changes
Future Directions to Future Directions
better printing of values
Print Limit | Future Directions
parameter typing
Future Directions
subsequences and predefined events
Predefined Events
possible misfeatures
num_args() function
Extra Arguments
nth_arg() function
Extra Arguments
first element of vector tested in conditionals
Conditionals
PostEvent() member function
see Client class, member functions
pragma
include once
include Expression to include Expression
shared group
Script Clients to Script Clients
shared user
Script Clients to Script Clients
shared world
Script Clients to Script Clients
predefined events
Predefined Events to Predefined Events
established
Predefined Events
unrecognized
Predefined Events
done
Predefined Events
fail
Predefined Events
terminate
Predefined Events
connection_lost
Global Variables
connection_restored
Global Variables
daemon_terminated
Global Variables
fail
Standard Client Member Functions
predefined functions
Predefined Functions and Variables to Alphabetic Summary of Functions
agent manipulation
Manipulating Agents to Manipulating Agents
ellipsis manipulation
Manipulating Variable Argument Lists to Manipulating Variable Argument Lists
eval
eval Function to eval Function
mathematical
Manipulating Vectors and Arrays
mathematical (proposed)
Future Directions
memory usage
Memory Usage to Memory Usage
reading and writing values
Binary I/0 to Binary I/0
string manipulation
String Functions to strlen
string manipulation (proposed)
Future Directions
summary
Function Summary by Category to Alphabetic Summary of Functions
symbol manipulation
Manipulating Symbols to Manipulating Symbols
type conversion
Type Conversion to String Conversions
type identification
Type Identification to Type Identification
value creation
Value Creators to Value Creators
vector manipulation
Manipulating Vectors and Arrays to Manipulating Vectors and Arrays
PRESERVE_ARRAY enumeration constant
Constructing Value Objects
print
control
Printing to Print Limit
print statement
Printing
printf() function
User Interaction
printing
Printing to Print Limit
prod() function
Manipulating Vectors and Arrays
protocol
built-in
An Example of Using
session-layer
An Example of Using
pseudo-ttys
The shell Function | The ``Shell" Client
race conditions
avoiding
How Glish Executes a
random function
Value Creators to Value Creators
range() function
Manipulating Vectors and Arrays
rbind() function
Manipulating Vectors and Arrays
read() function
Reading
read_value() function
Binary I/0
readline() function
User Interaction
README
Installing and Porting Glish
real() function
Numeric Types | Manipulating Vectors and Arrays
records
Records to Accessing Fields Using Numeric
const
Constant Records
const
to Constant Fields
accessing fields
Manipulating Records
``addition'' of (proposed)
Future Directions
assigning (proposed)
Future Directions
assigning beyond end
Accessing Fields Using Numeric
assigning part to another record
Accessing and Modifying Multiple
comparisons
Relational Expressions
comparisons (proposed)
Relational Expressions | Future Directions
creating empty
Constructing Value Objects
deleting fields (proposed)
Future Directions
extending
Accessing Fields Using Numeric
fields
Records
const names
Constant Field Names
const names
to Constant Field Names
const
Constant Fields
const
to Constant Fields
access with numeric subscripts
Accessing Fields Using Numeric
access with numeric subscripts
to Accessing Fields Using Numeric
access with string literals
Accessing and Modifying Multiple
access with string subscripts
Accessing Fields Using []
accessing
Accessing Fields Using ``.''
assigning
Accessing Fields Using ``.''
first field is [1]
Accessing Fields Using Numeric
internal names
Accessing Fields Using Numeric
legal names
Accessing Fields Using ``.'' | Accessing Fields Using []
multiple
Accessing and Modifying Multiple to Accessing and Modifying Multiple | Assignment Syntax
names
Accessing Fields Using ``.'' | Type Identification
number of
Accessing Fields Using ``.''
reserved names
Accessing Fields Using []
generating new field names
Manipulating Records
manipulating
Manipulating Records to Manipulating Records
memory management
An Overview of the
vectors of
Accessing Fields Using Numeric
recursion
in function calls
The Function Body
Ref() function
An Overview of the
references
References to Explicitly Maintaining References
assignment to
Breaking References
breaking
Breaking References
dereferencing
Basic Value Operations | Basic Value Operations
``distributed'' (proposed)
Future Directions
maintaining
partial value
Explicitly Maintaining References to Explicitly Maintaining References
maintaining across assignment
Explicitly Maintaining References | Explicitly Maintaining References
names of
Type Identification | Type Identification
partial value
Partial Value References to Explicitly Maintaining References
breaking
Breaking References to Breaking References
creating
Creating References to Creating References
vectors of
Accessing Fields Using Numeric
whole value
Whole Value References to Explicitly Maintaining References
breaking
Breaking References to Breaking References
creating
Creating References to Creating References
maintaining
Explicitly Maintaining References to Explicitly Maintaining References
regular expression
Regular Expressions to Comments
alternation
Grouping and Alternation to Grouping and Alternation
application
Application to =~ and !~ Operators
application operators
=~ and !~ Operators
case insensitive flag
Substitution
character range
Ranges to Ranges
comment
Comments to Comments
escape sequences
Escape Sequences to Escape Sequences
extra escape chars
Escape Sequences
global flag
Substitution
grouping
Grouping and Alternation to Grouping and Alternation
lazy matching
Greedy and Lazy Matching to Greedy and Lazy Matching
lazy repetition operators
Greedy and Lazy Matching
lookahead
Lookahead to Lookahead
match variables
Grouping and Alternation to Grouping and Alternation
repeat character
Ranges
repetition
Repetition to Repetition
repetition operators
Repetition
standard escape chars
Escape Sequences
substitution
Substitution to Substitution
relay() function
Manipulating Agents
relay_all() function
Manipulating Agents
*rendezvous* event
Transmitting Events
*rendezvous-orig* event
Transmitting Events
*rendezvous-resp* event
Transmitting Events
rep() function
Manipulating Vectors and Arrays
Reply() member function
see Client class, member functions
ReplyPending() member function
see Client class, member functions
request expression
Request Expressions
reserved names
Accessing Fields Using []
return statement
return Statement
.rhosts file
glishd Started by the
Salz, Rich
Command-line Editing
scalars
Vectors
creating Value objects from
Constructing Value Objects
replicating to create an array
Type Conversions
scope
Scoping to wider Scope
modifier
global
global Scope to global Scope
local
local ``Statement'' | local Scope to local Scope
wider
wider Scope to wider Scope
script clients
Script Clients to Script Clients
determining if script is a
Global Variables
script global variable
Global Variables
scripts
Introduction
how executed
How Glish Executes a to How Glish Executes a
made up of statements
Statements
self variable
Subsequences
semi-colon
as empty statement
Empty Statement
as statement terminator
Statements
omitting
Leaving Out the Statement to Leaving Out the Statement
send expression
Send Expressions
seq() function
Creating Vectors | Integer Indices | Manipulating Vectors and Arrays
with one argument
Integer Indices | Manipulating Vectors and Arrays
with two arguments
Integer Indices | Manipulating Vectors and Arrays
with three arguments
Integer Indices | Manipulating Vectors and Arrays
SetField() member function
see Value class, member functions
shape() function
Manipulating Vectors and Arrays
shared clients
Shared Clients to Shared Clients
implementation
Transmitting Events
Shared() member function
see Client class, member functions
shell() function
Functions and Function Calls | The shell Function to The shell Function | Manipulating Agents
buffering
The shell Function
optional arguments
The shell Function
running on remote hosts
glishd Events
shell_client
The ``Shell" Client
ShortPtr() member function
see Value class, member functions
ShortVal() member function
see Value class, member functions
sin() function
Manipulating Vectors and Arrays
socket connections
Transmitting Events | Installing and Porting Glish
daemon port (2833)
glishd Started by Root
default port (2000)
Transmitting Events
sockets
Internet domain
Transmitting Events
Unix domain
Transmitting Events
sort() function
Manipulating Vectors and Arrays
sort_pair() function
Manipulating Vectors and Arrays
spaste() function
split and paste
Spencer, Henry
Regular Expressions
split() function
split and paste
with two arguments
split and paste
sprintf() function
sprintf
sqrt() function
Manipulating Vectors and Arrays
stat() function
File Information
statements
Statements to Leaving Out the Statement
block
Statements
empty
Empty Statement
expressions as
Expressions as Statements
return values
The Function Body
semi-colon termination
Statements | Leaving Out the Statement to Leaving Out the Statement
stdin event to shell client
The ``Shell" Client
stdin shell event
The shell Function
stdout shell event
The shell Function
StringPtr() member function
see Value class, member functions
strings
Strings to String Operators
manipulation functions
String Functions to strlen
manipulation functions (proposed)
Future Directions
StringVal() member function
see Value class, member functions
strlen() function
strlen
subsequences
Subsequences to Subsequences
self variable
Subsequences
defined with subsequence keyword
Subsequences
sum() function
Manipulating Vectors and Arrays
$suspend list of clients to suspend
Debugging Clients
suspend= client argument
The client Function | Debugging Clients
suspend= shell argument
The shell Function
suspending execution
How Glish Executes a
symbol_delete() function
Manipulating Symbols
symbol_names() function
Manipulating Symbols | Manipulating Symbols
with no arguments
Manipulating Symbols
symbol_set() function
Manipulating Symbols
with one arguments
Manipulating Symbols
with two arguments
Manipulating Symbols
symbol_value() function
Manipulating Symbols
sync() function
Manipulating Agents
system global variable
Global Variables
version field
Global Variables
is_script_client field
Global Variables
print.limit field
Global Variables
print.precision field
Global Variables
tk field
Global Variables
path.bin field
Global Variables
path.bin field
Global Variables
pid field
Global Variables
ppid field
Global Variables
limits.max field
Global Variables
limits.min field
Global Variables
connection_lost field
Global Variables
connection_restored field
Global Variables
daemon_terminated field
Global Variables
system information
Global Variables
TAKE_OVER_ARRAY enumeration constant
Constructing Value Objects
TakeValue() member function
see Value class, member functions
tan() function
Manipulating Vectors and Arrays
temporal event ordering
How Glish Executes a
terminate event to shell client
The ``Shell" Client
terminate predefined event
Predefined Events
terminate shell event
The shell Function
*terminate-daemon* event sent to glishd
glishd Events
test_client client
see clients, available
threads
subsequences as
Subsequences
time() function
Value Creators
timeout
Available Glish Clients
timeouts
for await and request/reply (proposed)
Future Directions
timer client
see clients, available
tk
Glish/Tk | see tk to Version Number and Utility
description
Introduction
button
Button to Menu Buttons
check
Check Buttons to Check Buttons
construction parameters
Plain Buttons
events
Plain Buttons
menu
Menu Buttons to Menu Buttons
radio
Radio Buttons to Radio Buttons
canvas
Canvas to Canvas
construction parameters
Canvas
events
Canvas
click to focus
Introduction
entry
Entry to Entry
construction parameters
Entry
events
Entry
focus model
Introduction
frame
Frame to Frame
construction parameters
Frame
events
Frame
popup
Frame
transient
Frame
label
Label to Label
construction parameters
Label
events
Label
listbox
Listbox to Listbox
construction parameters
Listbox
events
Listbox
message
Message to Message
construction parameters
Message
events
Message
pgplot
Glish/PGPLOT to WNAD - set window
arro
ARRO - draw an
ask
ASK - control new
bbuf
BBUF - begin batch
beg
BEG - begin PGPLOT,
bin
BIN - histogram of
bind
bind - notice cursor,
box
BOX - draw labeled
circ
CIRC - draw a
clos
CLOS - close the
conb
CONB - contour map
conl
CONL - label contour
cons
CONS - contour map
construction parameters
Pgplot Agent Constructor to Pgplot Agent Constructor
cont
CONT - contour map
ctab
CTAB - install the
cursor
cursor - set the
draw
DRAW - draw a
drivers
Introduction to Introduction
ebuf
EBUF - end batch
end
END - terminate PGPLOT
env
ENV - set window
eras
ERAS - erase all
errb
ERRB - horizontal or
errx
ERRX - horizontal error
erry
ERRY - vertical error
gray
GRAY - gray-scale map
height
height - notice cursor,
hi2d
HI2D - cross-sections through
hist
HIST - histogram of
iden
IDEN - write username,
imag
IMAG - color image
lab
LAB - write labels
ldev
LDEV - list available
len
LEN - find length
line
LINE - draw a
move
MOVE - move pen
mtxt
MTXT - write text
non-standard features
Introduction to Introduction | Non-Standard Methods to Unavailable Standard PGPLOT Methods
numb
NUMB - convert a
open
OPEN - open a
page
PAGE - advance to
panl
PANL - switch to
pap
PAP - change the
pixl
PIXL - draw pixels
pnts
PNTS - draw one
poly
POLY - fill a
pt
PT - draw one
ptxt
PTXT - write text
qah
QAH - inquire arrow-head
qcf
QCF - inquire character
qch
QCH - inquire character
qci
QCI - inquire color
qcir
QCIR - inquire color
qcol
QCOL - inquire color
qcr
QCR - inquire color
qcs
QCS - inquire character
qfs
QFS - inquire fill-area
qhs
QHS - inquire hatching
qid
QID - inquire current
qinf
QINF - inquire PGPLOT
qitf
QITF - inquire image
qls
QLS - inquire line
qlw
QLW - inquire line
qpos
QPOS - inquire current
qtbg
QTBG - inquire text
qtxt
QTXT - find bounding
qvp
QVP - inquire viewport
qvsz
QVSZ - find the
qwin
QWIN - inquire window
rect
RECT - draw a
resizing
Pgplot and Window Resizing to Pgplot and Window Resizing
rnd
RND - find the
rnge
RNGE - choose axis
sah
SAH - set arrow-head
save
SAVE - save PGPLOT
scf
SCF - set character
sch
SCH - set character
sci
SCI - set color
scir
SCIR - set color
scr
SCR - set color
scrn
SCRN - set color
sfs
SFS - set fill-area
shls
SHLS - set color
shs
SHS - set hatching
sitf
SITF - set image
slct
SLCT - select an
sls
SLS - set line
slw
SLW - set line
stbg
STBG - set text
subp
SUBP - subdivide view
svp
SVP - set viewport
swin
SWIN - set window
tbox
TBOX - draw frame
text
TEXT - write text
unsa
UNSA - restore PGPLOT
updt
UPDT - update display
vect
VECT - vector map
vsiz
VSIZ - set viewport
vstd
VSTD - set standard
wedg
WEDG - annotate an
width
width - notice cursor,
wnad
WNAD - set window
scale
Scale to Scale
construction parameters
Scale
events
Scale
scrollbar
Scrollbar to Scrollbar
text
Text to Text
construction parameters
Text
events
Text
tk_hold() function
Version Number and Utility
tk_release() function
Version Number and Utility
to_lower() function
tr
to_upper() function
tr
tr() function
tr
trace facility (proposed)
Future Directions
Turner, Simmule
Command-line Editing
Type() member function
see Value class, member functions
type signatures (proposed)
Future Directions
type-checking (proposed)
Future Directions
type_name() function
Glish Types | Type Identification
types
boolean
Glish Types
byte
Glish Types
short
Glish Types
integer
Glish Types
float
Glish Types
double
Glish Types
complex
Glish Types
dcomplex
Glish Types
numeric
Glish Types
string
Glish Types
record
Glish Types
function
Glish Types
agent
Glish Types
reference
Glish Types
fail
Glish Types
file
Glish Types
regex
Glish Types
fail
fail Statement
numeric
Type Identification
const
Type Identification
numeric
Numeric Types
complex
Numeric Types
dcomplex
Numeric Types
complex
real() function
Numeric Types
dcomplex
real() function
Numeric Types
complex
imag() function
Numeric Types
dcomplex
imag() function
Numeric Types
dcomplex
to Numeric Types
complex
to Numeric Types
boolean
promotion
Mixing Numeric Types
numeric
to Indexing With Numeric Types
boolean
Constructing Value Objects
byte
Constructing Value Objects
short
Constructing Value Objects
integer
Constructing Value Objects
float
Constructing Value Objects
double
Constructing Value Objects
complex
Constructing Value Objects
dcomplex
Constructing Value Objects
numeric
Basic Value Operations
as vectors
Vectors
compatibility
Type Conversions
conversion
Type Conversions to Type Conversions | Type Conversions to Type Conversions
automatic
Type Conversions
explicit
Type Conversions
forbidden
Type Conversions
to boolean
Boolean Conversions
to integer
Integer Conversions
to string
String Conversions
to complex
Complex Conversions
to floating-point
Float and Double Conversions
conversion functions
Type Conversion to String Conversions
fail
Type Identification
identifying functions
Dynamic Typing | Type Identification to Type Identification
modifiable
Type Identification
not a number
Type Identification
numeric
intermixing
Mixing Numeric Types
overview
Glish Types
unique() function
Manipulating Vectors and Arrays
unlink statement
link and unlink Statements | Point-to-Point Communication
example
An Example of Using
implementation
Transmitting Events
*unlink-sink* event
Transmitting Events
Unrecognized() member function
see Client class, member functions
unrecognized predefined event
Predefined Events
Unref() function
An Overview of the | An Example of a
user-customization file
The Glish Interpreter
-v flag to Glish interpreter
The Glish Interpreter
Val() member function
see GlishEvent class, member functions
val operator
Explicitly Maintaining References | Explicitly Maintaining References
$value
Event Expressions | Processing Asynchronous Events | $agent, $name, and $value
Value class
create_record() function
An Overview of the
copy_value() function
An Overview of the
accessing and assigning
attributes
Accessing and Assigning Attributes to Accessing and Assigning Attributes
accessing and assigning elements of
Accessing and Assigning Elements to Accessing and Assigning Elements
constructors
An Overview of the to An Overview of the | Constructing Value Objects to Constructing Value Objects
array
Constructing Value Objects
scalar
Constructing Value Objects
converting to C++ pointer
Basic Value Operations
creating Value objects
An Overview of the
creating an empty record
Constructing Value Objects
details
The Value Class to Accessing and Assigning Attributes
length of value
Basic Value Operations
member functions
AssignAttribute()
An Overview of the | Accessing and Assigning Attributes
AssignElements()
Accessing and Assigning Elements
AttributePtr()
An Overview of the
BoolPtr()
Basic Value Operations
BoolVal()
Basic Value Operations
BytePtr()
Basic Value Operations
ByteVal()
Basic Value Operations
CoerceToBoolArray()
Type Conversions
CoerceToByteArray()
Type Conversions
CoerceToComplexArray()
Type Conversions
CoerceToDcomplexArray()
Type Conversions
CoerceToDoubleArray()
Type Conversions
CoerceToFloatArray()
Type Conversions
CoerceToIntArray()
An Overview of the | Type Conversions
CoerceToShortArray()
Type Conversions
CoerceToStringArray()
Type Conversions
ComplexPtr()
Basic Value Operations
ComplexVal()
Basic Value Operations
DcomplexPtr()
Basic Value Operations
DcomplexVal()
Basic Value Operations
DeleteAttribute()
Accessing and Assigning Attributes | Accessing and Assigning Attributes
Deref()
Basic Value Operations | Basic Value Operations
DoublePtr()
An Example of a | Basic Value Operations
DoubleVal()
Basic Value Operations
ExistingAttribute()
Accessing and Assigning Attributes | Accessing and Assigning Attributes
ExistingRecordElement()
Manipulating Records
Field()
Manipulating Records | Manipulating Records
FieldBoolPtr()
Manipulating Records
FieldBytePtr()
Manipulating Records
FieldComplexPtr()
Manipulating Records
FieldDcomplexPtr()
Manipulating Records
FieldDoublePtr()
Manipulating Records
FieldFloatPtr()
Manipulating Records
FieldIntPtr()
Manipulating Records
FieldShortPtr()
Manipulating Records
FieldStringPtr()
Manipulating Records
FieldVal()
Manipulating Records
FloatPtr()
Basic Value Operations
FloatVal()
Basic Value Operations
GetOrCreateAttribute()
Accessing and Assigning Attributes | Accessing and Assigning Attributes
HasAttribute()
Accessing and Assigning Attributes
IntPtr()
An Overview of the | Basic Value Operations | Basic Value Operations | Type Conversions
IntVal()
An Overview of the | Basic Value Operations
IsConst()
Basic Value Operations
IsNumeric()
Basic Value Operations
IsRef()
Basic Value Operations
IsVecRef()
Basic Value Operations
Length()
An Overview of the | Basic Value Operations
ModAttributePtr()
An Overview of the
NewFieldName()
Manipulating Records
NthField()
Manipulating Records
NthFieldName()
Manipulating Records
Polymorph()
An Overview of the | Basic Value Operations | Type Conversions
SetField()
Manipulating Records | Manipulating Records | Manipulating Records
ShortPtr()
Basic Value Operations
ShortVal()
Basic Value Operations
StringPtr()
Basic Value Operations
StringVal()
Basic Value Operations | Manipulating Records
TakeValue()
Accessing and Assigning Elements
Type()
An Overview of the | Basic Value Operations | Type Conversions
VecRefDeref()
Basic Value Operations | Basic Value Operations
overview
An Overview of the to An Overview of the
references
Basic Value Operations
dereferencing
Basic Value Operations
storage
Constructing Value Objects
string representation
Basic Value Operations
sub-vector
dereferencing
Basic Value Operations
references
Basic Value Operations
type of value
Basic Value Operations
values
check memory usage
Memory Usage to Memory Usage
copy-on-write
Copy On Write to Copy On Write | Constructing Value Objects
functions to read and write
Binary I/0 to Binary I/0
implicit copying
Type Conversions
overview
Overview
variables
declaring local
local ``Statement''
function scope
function Scope to function Scope
global
Global Variables to Global Variables
summary
Global Variables to Global Variables
global scope
global Scope to global Scope
initialization
local ``Statement''
local
persistent
Persistent Local Variables to Persistent Local Variables | Subsequences
local scope
local ``Statement'' to local ``Statement'' | local Scope to local Scope
naming
Atomic Expressions
uninitialized
Atomic Expressions
uninitialized (proposed)
Future Directions
VecRefDeref() member function
see Value class, member functions
vectors
Vectors to Modifying Vector Elements
const
Constant Arrays and Vectors
const
to Constant Arrays and Vectors
assigning beyond end
Modifying Vector Elements
assigning multiple elements
Assigning Multiple Elements
creating
Creating Vectors to Creating Vectors
creating Value objects from
Constructing Value Objects
empty
Creating Vectors
extending
Modifying Vector Elements
first element is [1]
Accessing Vector Elements | Basic Value Operations
holes
Modifying Vector Elements
indexing
Accessing Vector Elements | Indexing
masks
Boolean Indices to Assigning Multiple Elements
multi-element
Multi-Element Indexing to Accessing and Modifying Multiple
with boolean vector
Boolean Indices to Assigning Multiple Elements
with integer vector
Integer Indices to Assigning Multiple Elements
with stride
Integer Indices
indices for particular elements
Boolean Indices
manipulation functions
Manipulating Vectors and Arrays to Manipulating Vectors and Arrays
modifying
Modifying Vector Elements
multi-dimensional
Arrays to Operators and Boolean Indices
operations
not element-by-element
Logical Expressions
element-by-element
Element-by-Element Vector Operations | Arithmetic Operators | Logical Operators
with scalars
Element-by-Element Vector Operations
type conversion when assigning elements
Modifying Vector Elements | Assigning Multiple Elements
with different types of elements
Accessing Fields Using Numeric
-version flag to Glish interpreter
The Glish Interpreter
-vf flag to Glish interpreter
The Glish Interpreter
-vi flag to Glish interpreter
The Glish Interpreter
-w flag to Glish interpreter
The Glish Interpreter
Wall, Larry
Regular Expressions
whenever statement
Whenever Statements | Processing Asynchronous Events | whenever Statement
activating and deactivating
activate and deactivate Statements to activate and deactivate Statements
active
Manipulating Agents
associated agents
Manipulating Agents
body
Execution of whenever
execution specifics
Execution of whenever
identifying
Manipulating Agents | Manipulating Agents
order of execution
Execution of whenever | How Glish Executes a | How Glish Executes a
receiving every event
Event Syntax
when executed
Execution of whenever
whenever_active() function
Manipulating Agents
whenever_stmts() function
Manipulating Agents
while statement
While Loops
wrappers
Introduction
around C routines
An Example of a
around data structures
An Overview of the | Accessing and Assigning Elements
write() function
Writing
write_value() function
Binary I/0


next up previous contents
Up: The Glish 2.7 User Manual DRAFT Previous: Glish Syntax and Grammar   Contents
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15