X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=examples%2Fgetenv.cl;h=347a22f81b12c461c7ce0836d293c160caa7b4b8;hb=baabff1a8dbf4813072d87f6977cd488c376fe56;hp=335a70f694011010847e5cbea87951e2e76242c6;hpb=40314c219af7f3c1117836a66f4028a52704437d;p=uffi.git diff --git a/examples/getenv.cl b/examples/getenv.cl index 335a70f..347a22f 100644 --- a/examples/getenv.cl +++ b/examples/getenv.cl @@ -9,7 +9,7 @@ ;;;; ;;;; Copyright (c) 2002 Kevin M. Rosenberg ;;;; -;;;; $Id: getenv.cl,v 1.2 2002/03/09 21:19:31 kevin Exp $ +;;;; $Id: getenv.cl,v 1.3 2002/03/10 04:15:33 kevin Exp $ ;;;; ;;;; This file is part of UFFI. ;;;; @@ -44,3 +44,10 @@ (format t "~&Environment value for USER key: ~A" (getenv "USER")) (format t "~&Environment value for _FOO_ key: ~A" (getenv "_FOO_")) +#+test-uffi +(progn + (flet ((print-results (str) + (format t "~&(getenv ~S) => ~S" str (getenv str)))) + (print-results "USER") + (print-results "_FOO_"))) +