Data Types and Conversions in SNOBOL4 – excerpted from …
Data Types and Conversions in SNOBOL4 – excerpted from SNOBOL4.man
| Result Type E
| X
| P
| I P R D
| S N A E E
| T T T A T S F
| R E T N R A C S I
| I G E A R B O I N
Argument | N E R M A L D O E
Type | G R N E Y E E N D
-----------+-----------------------------------
STRING | * I P C E
INTEGER | S * P
PATTERN | F *
NAME | F *
ARRAY | A * 1
TABLE | T 2 *
CODE | F *
EXPRESSION | F P *
DEFINED | F *
* The argument object is returned unchanged.
A The formal data type name "ARRAY" is returned with the
defining prototype string if it is less than 20 characters.
C CONVERT(string,"CODE) behaves exactly like CODE(string).
E Produces an unevaluated expression, that may be subsequently
used in a pattern, or evaluated with the EVAL() function.
F The formal data type name is returned.
I Numeric conversion is conditioned on magnitude and syntax
restrictions. No leading or trailing blanks are permitted.
P Occurs implicitly within a pattern match.
S A number may always be converted to its string form.
T The string "TABLE" is returned with the present size of the
table and its expansion increment: "TABLE(50,10)".
1 The array must be rectangular, with a second dimension of 2
(N rows by 2 columns). A table with N entries is created.
The table subscripts are taken from the first column of the
array; the table values are copied from the second column.
2 The table is converted to a rectangular array. Null table
entries are omitted, and there must be at least one nonnull
entry or the function fails. An N by 2 array is created,
where N is the number of nonnull table values. The first
array column contains the table subscripts, the second col-
umn contains the entry values.
Reference - 120 - Data Types and Conversion
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- string lab 2 input and output using strings
- 3 purdue university
- edu
- midterm exam of cs005 introduction to computer
- csci 515 introduction to c programming spring 2000
- umass boston computer science
- data types and conversions in snobol4 excerpted from
- com sci chapter 2 lecture notes
- ogl account string conversion plan
Related searches
- basic unit conversions in chemistry
- how to do conversions in chem
- psi unit conversions in slugs
- data types in pandas dataframe
- data types in pandas
- converting data types in python
- basic data types in python
- data types sas
- data types sql
- sql data types examples
- sql data types definitions
- data collection and data analysis