Difference between revisions of "Journal.clear"
From OpenEUO
(Created page with "== Calling Pattern == Call local j = sl.journal() later local r = j.clear() Returns r is a number, the number of new journal messages since last call to clear or refresh == D...") |
(No difference)
|
Latest revision as of 20:19, 8 January 2011
Calling Pattern
Call
local j = sl.journal()
later
local r = j.clear()
Returns
r is a number, the number of new journal messages since last call to clear or refresh
Description
Clear empties the internal store, resets the reading marker used by nextline and calls [[journal.refresh|refresh] to grab any new journal messages.