[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: firstname.lastname@example.org
- Subject: %get-cstring bug?
- From: djskrien@COLBY.EDU (Dale Skrien)
- Date: Thu, 11 Feb 93 14:13:02 -0500
The online documentation for %get-cstring says that it takes only one
optional argument: offset. However, the manual says that it takes two
optional arguments: offset and end. When I call %get-cstring with a
macptr and two more arguments, it appears to ignore the last argument and
behave as if it had only one optional argument. Is the 'end' optional
argument not used?
The reason I'm asking is I would like to be able to specify how much of the
string to get (like you can do with subseq), and so having an 'end'
argument would be nice. Of course, I could get the whole string and then
apply subseq to it to get the part I want, but that seems to be wasteful,
especially if the string is very long.
Dale J. Skrien email@example.com
Dept. of Mathematics & Computer Science 207-872-3256
Colby College, Waterville ME 04901