Search ('all' for everything):
Search results:
char — produce character
entab — replace blanks by tabs
map — map characters
name — produce name
ord — produce ordinal
repl — replicate string
reverse — reverse string
s<<=s — lexically less than or equal
s<<s — lexically less than
s==s — lexically equal
s>>=s — lexically greater than or equal
s>>s — lexically greater than
string — convert to string
s||s — concatenate strings
s~==s — lexically not equal
trim — trim string
type — produce type name
x[i+:i] — produce substring or list section
x[i-:i] — produce substring or list section
x[i:i] — produce substring or list section
x[x, …] — multiple subscript
x[x] — subscript

Index of Function Types:
affects &pos
character sets
co-expressions
control structures
file processing
generators
infix operations
keywords
lists, sets and tables
math
metadata
output formatting
pattern matching
prefix operations
records
strings
windows and keyboards

Index of Subsystems:
base
digitcnt.icn
SNOBOL4 functions
name
 
produce name
 
Description

s name(v)
name(v) produces the name of the variable v. If v is an identifier or a keyword that is a variable, the name of the identifier or keyword is produced. If v is a record field reference, the record type and field name are produced with a separating period. If v is a string, the name of the string and the subscript range are shown. If v is a subscripted list or table, the type name followed by the subscripting expression is produced.
 
Parameters
v
a variable
returns
the name of v as a string
 
Errors
111 v is not a variable
 
See Also