From: David Finton
Subject: porting FORMAT statements from Allegro CL to gcl?
Date: 
Message-ID: <3l24oa$3pp@spool.cs.wisc.edu>
I need help understanding why some of my lisp doesn't work in
gcl, when it worked in ACL.

I'm working on an app which has a large section of lisp code
running under a subprocess.  We're using Allegro Common Lisp 3.1
and hoping to be able to easily port this to the free GNU Common
Lisp.

I ran into problems with statements like the following, which worked
just fine in ACL, but not in gcl:

   (format fo "~3,,,@A" "c")

gcl says: 
--------------------------------------------------------------
>>(format t "~3,,,@A" "c")

Error: Format error: illegal ,.
             V
       "~3,,,@A"
       
Error signalled by FORMAT.
Backtrace: system:universal-error-handler > evalhook > format > system:universal-error-handler > SYSTEM::BREAK-LEVEL
--------------------------------------------------------------

What's wrong?
How do I fix it?  (I could just use (format t ยทยทยท@A" "c") in this example,
  but is there a better fix?)
Are there any other things to look for in porting ACL to gcl?


Thanks in advance!

--David Finton