ASSERT.LST 1.1 KB

123456789101112131415161718192021222324252627282930
  1. Listing:
  2. 1 (* Release 3.10 *)
  3. 2 (*-------------------------------------------------------------------------*
  4. 3 * *
  5. 4 * ASSERT.DEF - Modula-2 interface to ASSERT.H *
  6. 5 * *
  7. 6 * COPYRIGHT (C) 1989..1992 Clarion Software Corporation. *
  8. 7 * All Rights Reserved *
  9. 8 * *
  10. 9 *--------------------------------------------------------------------------*)
  11. 10
  12. 11 (*# project("#set tsc='on'") *)
  13. 12 (*# call(o_a_size=>off, o_a_copy=>off, c_conv=>on, result_optional=>on) *)
  14. 13 (*# module(implementation=>off, init_code=>off) *)
  15. 14 (*# name(prefix=>c) *)
  16. 15
  17. 16
  18. 17 DEFINITION MODULE assert;
  19. 18
  20. 19 (* assert macro cannot be used from Modula-2 *)
  21. 20
  22. 21 PROCEDURE abort();
  23. 22
  24. 23 END assert.
  25. ***** ^ not supported yet
  26. 1 error