DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(guile.info.gz) Vector Syntax

Info Catalog (guile.info.gz) Vectors (guile.info.gz) Vector Creation
 
 22.3.1 Read Syntax for Vectors
 ------------------------------
 
 Vectors can literally be entered in source code, just like strings,
 characters or some of the other data types.  The read syntax for vectors
 is as follows: A sharp sign (`#'), followed by an opening parentheses,
 all elements of the vector in their respective read syntax, and finally
 a closing parentheses.  The following are examples of the read syntax
 for vectors; where the first vector only contains numbers and the
 second three different object types: a string, a symbol and a number in
 hexadecimal notation.
 
      #(1 2 3)
      #("Hello" foo #xdeadbeef)
 
Info Catalog (guile.info.gz) Vectors (guile.info.gz) Vector Creation
automatically generated byinfo2html