No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gettext / gettext-tools / examples / hello-clisp / hello.lisp.in
blob530346bedf55062b45c46371691d93c7fe7cccf5
1 #| Example for use of GNU gettext.
2 Copyright (C) 2003 Free Software Foundation, Inc.
3 This file is in the public domain.
5 Source code of the GNU clisp program.
6 |#
8 (setf (i18n:textdomain) "hello-clisp")
9 (setf (i18n:textdomaindir "hello-clisp") "@localedir@/")
10 (defmacro _ (string) `(i18n:gettext ,string))
12 (write-line (_ "Hello, world!"))
14 (format t (_ "This program is running as process number ~D.")
15 (system::program-id))
16 (terpri)