next up previous contents
Next: Pre-defined primitive abstractions in Up: A++ with few extensions Previous: Syntax of A++ including   Contents

Examples using pre-defined primitives of A++

(ndisp! four)    
                           -->4

(bdisp! true)
                           -->true

(print vmzero)
                           -->0

(print ((five incr) vmzero))
                            -->5

(ldisp! l1)
                            -->1
                            -->2
                            -->3

(load "init.ars")


(bdisp! (equalx 'anton 
                'berta))
                            -->false
(print "end of program")   
                            -->end of program
(quit)



Georg P. Loczewski 2002-07-20

Impressum und Datenschutz
access counter