
Output truncated
Output truncated
Hi, I'm new to this list and lisp
so apologies for the nature of this question. I'm using Allegro CL and it seems longer lists are abbreviated when output on the console. Does anyone know how to control this behaviour if at all possible.

-
- Posts: 166
- Joined: Sun Nov 28, 2010 4:21 pm
Re: Output truncated
You probably want *print-readably*, but if you only care about avoiding the truncation you can bind *print-lines*, and *print-level* and *print-length*.
If you are using FORMAT then you will also want to use ~w instead of ~a
If you are using FORMAT then you will also want to use ~w instead of ~a
Re: Output truncated
Another quick question, what's the way to ensure these variables are set each time Allegro starts up?
-
- Posts: 166
- Joined: Sun Nov 28, 2010 4:21 pm
Re: Output truncated
Presumably allegro has an init file, but I've never used allegro so I cant tell you what it is.
Generally speaking you don't want to globally make changes to the pretty-printer variables, you should temporarily bind them with LET to the values you want for the print call in question.
Generally speaking you don't want to globally make changes to the pretty-printer variables, you should temporarily bind them with LET to the values you want for the print call in question.