V

(val 'var) -> any
Returns the current value of var. See also setq, set and def.


: (setq L '(a b c))
-> (a b c)
: (val 'L)
-> (a b c)
: (val (cdr L))
-> b
(var sym . any) -> any
Defines a class variable sym with the initial value any for the current class (in *Class). See also OO Concepts and var:.


: (class +A)
-> +A
: (var a . 1)
-> 1
: (var b . 2)
-> 2
: (show '+A)
+A NIL
   b 2
   a 1
-> +A
(var: sym) -> any
Fetches the value of a class variable sym for the current object This, by searching the property lists of its class(es) and supperclasses. See also OO Concepts, var, with, meta, :, =: and ::.


: (object 'O '(+A) 'a 9 'b 8)
-> O
: (with 'O (list (: a) (: b) (var: a) (var: b)))
-> (9 8 1 2)
(vi 'sym)
(vi 'sym 'cls)
(vi '(sym . cls))
(vi)
Opens the "vi" editor on the function or method definition of sym. A call to ld thereafter will load the modified file. See also pp, *Dbg, debug and pp.


: (vi 'url> '+CuSu)  # Edit the method's source code, then exit from 'vi'
-> T
(view 'lst) -> any
Views lst as tree-structured ASCII graphics. See also pretty and show.


: (view '(a (b c d) (e (f (g) (h) (i)) (j (k) (l) (m))) (n o p) q))
+-- a
|
+---+-- b
|   |
|   +-- c
|   |
|   +-- d
|
+---+-- e
|   |
|   +---+-- f
|   |   |
|   |   +---+-- g
|   |   |
|   |   +---+-- h
|   |   |
|   |   +---+-- i
|   |
|   +---+-- j
|       |
|       +---+-- k
|       |
|       +---+-- l
|       |
|       +---+-- m
|
+---+-- n
|   |
|   +-- o
|   |
|   +-- p
|
+-- q