ts010016.pp 587 B

12345678910111213141516171819202122232425262728293031323334353637
  1. { problem of conversion between
  2. smallsets and long sets }
  3. type
  4. { Command sets }
  5. PCommandSet = ^TCommandSet;
  6. TCommandSet = set of Byte;
  7. Const
  8. cmValid = 0;
  9. cmQuit = 1;
  10. cmError = 2;
  11. cmMenu = 3;
  12. cmClose = 4;
  13. cmZoom = 5;
  14. cmResize = 6;
  15. cmNext = 7;
  16. cmPrev = 8;
  17. cmHelp = 9;
  18. { Application command codes }
  19. cmCut = 20;
  20. cmCopy = 21;
  21. cmPaste = 22;
  22. cmUndo = 23;
  23. cmClear = 24;
  24. cmTile = 25;
  25. cmCascade = 26;
  26. CurCommandSet: TCommandSet =
  27. [0..255] - [cmZoom, cmClose, cmResize, cmNext, cmPrev];
  28. begin
  29. end.