Darwin Help

Back to Index

Set

Function Set - Set system options and defaults

Calling Sequence  Set(opt)
Parameters
NameTypeDescription

opt {string, string=anything} 
Return Type  anything (previous value of the system variable)
Synopsis The Set command is used to assign to system variables.

NameTypeDescription

BytesAllocposintReturns the number of allocated bytes
echoposintSets the level of input/output information displayed.
  0 - no echo under any circumstance
  1 - (default) echo whenever the input or the output
   are not from/to the terminal, but do not echo as a
   result of a read statement.
  2 - echo whenever the input or the output are not
   from/to the terminal.
  3 - echo only as a result of read statements
  4 - echo everything.
  n - (n > 4): echo only as a result of read statements
   nested less than n-4
  The echo option is superseded by quiet, i.e.
   if quiet=true, no echo will occur.
gcintegerSets the frequency (in words allocated) for garbage
  collection.
mapsizeintegerSets the minimum size (in chars) required for Darwin
  to build a .map file for a database.
plotdevicestringSets the protocol for subsequent Draw commands.
  (options: portrait (8.5x11 with 1/2' margin)
   landscape (11x8.5 with 1/2' margin)
   portraitA4 (210x297 with 1/2' margin)
   landscapeA4 (297x210 with 1/2' margin)
plotoutputfilenameName of the file to store the plotted code.
printgcbooleanToggles displaying garbage collection information.
printlevelintegerSets the amount of information which is printed out
  during execution.
profilebooleanToggles printer/plotter profile mode
promptstringSets the Darwin prompt.
quietbooleanToggles the suppression of output.
screenwidthposintSets the width of a line for all subsequent output.
serverbooleanPlaces Darwin in server mode.
TotalDPCellsposintReturn/sets the number of cell computed for DynProgr
Examples
> Set(printgc);
false
> Set(plotdevice=landscape);
landscape