User Tools

Site Tools


doc:lua_make-your-own-scripts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
doc:lua_make-your-own-scripts [2015/11/15 13:31] – [Miscellaneous Commands] admindoc:lua_make-your-own-scripts [2015/11/15 13:49] – [Miscellaneous Commands] admin
Line 302: Line 302:
  
  
-==== Miscellaneous  Commands ====+==== WriteString Command Syntax ====
  
 +As default the command 
  
-=== serDisplayWrite(String) ===+  serDisplayWrite(String) 
 + 
 + 
 +writes //String// to the build in output console. But with an optional secound parameter as command this behavior can be changed: 
 + 
 +  serDisplayWrite(parameter, command) 
 + 
 +The different commands have the following effects: 
 + 
 +^ parameter  ^ command  ^ Function 
 +| buffername  | setbuffer  | redirects the following DisplayWrite()'s output into buffer "bufferName". If the buffer does not exists, it's automatically generated \\ The default output window buffername, which is also active at start, is //display// To write some output there after using some other buffers before, set buffer back to //display// | 
 +| -           | clear      | clears actual buffer content | 
 +| -           | clearall   | clears all buffers. Senseful at start of scripts, if wanted, as the buffers contain their contents between scripts runs | 
 +| filename    | save       | saves actual buffer to filename without further asking 
 +| filename    | saveas       | saves actual buffer to filename by let the user first confirm the filename 
 +| filename    | append       | appends actual buffer to filename without further asking 
 +| filename    | appendas       | appends actual buffer to filename by let the user first confirm the filename 
 + 
 + 
 + 
 + 
 +==== Miscellaneous  Commands ====
  
  
-Writes //String// to the build in output console. 
 === dbLookup(db-File , searchstring) === === dbLookup(db-File , searchstring) ===
  
doc/lua_make-your-own-scripts.txt · Last modified: 2019/04/08 18:43 by admin