box method

void box(
  1. String caller
)

Calling boxServe-class for info.

Implementation

void box(String caller) {
  buf.writeln(':dawoHist:box:start: C:$caller 123456789-23456789-23456788');
  print('-->>-->>-- :dawoHist:box:start: C:$caller  -->>-->>-- ');
  //  use: boxServe  OR  create own class here
  //  TODO  set min-max values
  //  :BOX:SW:  was 190
  //  unused::  final int _sw = 200; //  screen width, changed later =>
  final int _rc = 37; //  row count
  //  ???  Keep matrix here on callers side all the time
  //  unused::  List<String> _dawoHistMatrix = new List(_rc);
  String boxHeader = ':dawoHist:box:';

  print('-->>-->>  $boxHeader boxServe  start  -->>-->>--  ');
  //  :BUG:  Clear old lists first. ??
  //  :BOX:SW:  was 190
  boxServe.init(_rc, 200, '_'); //  rows, width or: 0 = use default 47, 195
  boxServe.construct(':dhst:box: ', ':dHst:'); //  :BUG: C: $caller');
  print(':BUG:DEBUG: dawoHist:box is not called * * * ');
  //  unused::  int r9 = 9; //  anchor for row.
  boxServe.show(':box:dHst:', 'print', 0);

  ///  Set boxServe ready for next user: clear data.
  boxServe.done(':box:dHst:');
}