TESTNUMB.MOD 782 B

123456789101112131415161718192021222324252627282930
  1. MODULE TestNumberInput;
  2. (*
  3. System:
  4. Last Edit: March 19, 1990 7:38 PM
  5. Author: Mike Carter
  6. Language: Logitech Modula-2/86 Version 3
  7. Description:
  8. Drives a test frame to allow convenient testing of the new
  9. numeric input routines.
  10. Revision History:
  11. Created March 10, 1990 - mbc.
  12. *)
  13. FROM ControlUtils IMPORT Input;
  14. FROM DspFiles IMPORT MainFrame, OpenDisplayFile, CloseDisplayFile;
  15. FROM ScrnTypes IMPORT DisplayFrame, AFrameName, DisplayFile;
  16. VAR
  17. testFile : DisplayFile;
  18. nextFrame : AFrameName;
  19. BEGIN (* module TestNumberInput *)
  20. IF OpenDisplayFile( testFile, "testnumb.dsp" ) THEN
  21. nextFrame := "TestFrame";
  22. Input( MainFrame, nextFrame );
  23. CloseDisplayFile( testFile );
  24. END; (* if OpenDisplayFile *)
  25. END TestNumberInput.