[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in format command



  Here is a bug in MACL v1.3.2.  The format command seems incapable of using
the 'V' directive parameter within a conditional directive.  Since I don't have
MCL 2.0B (yet), I don't know if this was carried into the new version or not.

? (format nil "~9,2E" 3.486E-3)            => "  3.49E-3"
? (format nil "~V,2E" 9 3.486E-3)          => "  3.49E-3"
? (format nil "~:[~9,2E~]" nil 3.486E-3)   => "  3.49E-3"
? (format nil "~:[~V,2E~]" nil 9 3.486E-3) => ""             ; What ?!
? (format nil "~:[~V,2E~]" t 9 3.486E-3)   => ""             ; OK
? (format nil "~:[~;~V,2E~]" t 9 3.486E-3)
> Error: 
Missing argument
"~:[~;~V,2E~]"
      ^
> While executing: FORMAT
> Type Command-/ to continue, Command-. to abort.
1 > 


   I hope it can be fixed for 2.0.

       - John Canning