![](https://secure.gravatar.com/avatar/1b8f1875b4b2155b58cd46103e7632fd.jpg?s=120&d=mm&r=g)
\startbuffer[ABC]% {} Braces at beginning fails with buffer \stopbuffer \starttext \getbuffer[ABC] \stoptext Error message: ! File ended while scanning use of \dododowithbuffer. <inserted text> \par Remove the {}'s at the beginning and all is well. The culprit however is the % in the first line; remove and the braces do no harm. I suspect that a missed newline is the cause. If that cannot be remedied, I advise adding a warning in the manual. Hans van der Meer
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 5-1-2010 15:27, H. van der Meer wrote:
\startbuffer[ABC]% {} Braces at beginning fails with buffer \stopbuffer \starttext \getbuffer[ABC] \stoptext
the buffer content is "all lines between startbuffer and stopbuffer" and both commands hav eto be on a line of their own with startbuffer having an optional name buffers are special in the sense that the input stream is parsed in a special way Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
H. van der Meer
-
Hans Hagen