Returns the captures current auto collect buffer. This is populated when a capture is created with carets ^ like so {^ ^}
{^ ^}->autocollectbuffer
Code
{^
'This was collected'
stdoutnl(currentcapture->autocollectbuffer)
^}()
Result
This was collected // console: This was collected
Here the output of a capture is outputted as normal via autocollect and the result is also stored in a local via the autocollectbuffer.
Code
local('capture' = {^ 'Hello\n' ^} )
#capture()
local(result = #capture->autocollectbuffer)
#result
Result
Hello Hello
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments