home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / pascal-p / pp319doc.lbr / NOTIMP.MZN / NOTIMP.MAN
Encoding:
Text File  |  1987-02-03  |  2.6 KB  |  55 lines

  1. .macro chttl = Features Not Implemented
  2. .ch Standard Pascal Features Not Implemented
  3. At present the following features of ANSI standard Pascal have not been
  4. implemented.  All except "GOTO"s are planned for eventual inclusion.
  5.  
  6. .list 1
  7. .le    Procedures/functions as parameters.
  8. .le     GOTO's leading out of procedure/function bodies.
  9. .le     Read/write for non-text files.
  10. .endlist
  11.  
  12.  
  13. .hl 1 Packing
  14. "PACKED" variables may or may not necessarily be packed.  .bb At present
  15. no items are packed no more than one item per byte. .eb
  16.  
  17. The  standard procedures PACK and UNPACK may be used,  but  may  actually
  18. simply transfer variables.
  19.  
  20. PACKED and UNPACKED variables are not distinguished at present, although the
  21. parameters to PACK and UNPACK must be correctly declared.  Thus standard
  22. Pascal errors in usage of such variables probably will be undetected.
  23. .hl 1 Set of Char
  24. A  set of char is available,  but any attempt to include  graphics  
  25. characters  in  that  set 
  26. {e.g.  chars with ordinal values larger than  127}  will
  27. result in a run-time error (if checking is enabled) or compilation errors  for
  28. constants.
  29. .hl 1 Separate Compilation
  30. The  compiler  will handle partial source programs for separate  
  31. compilation.   This  facility is described in the chapter on Language
  32. Extensions  under
  33. "Procedure Calls".  S- mode is required.
  34.  
  35. The PROGRAM statement is optional under S- mode.  If it is omitted, INPUT
  36. and OUTPUT files are still available.  
  37.  
  38. .hl 1 Files in Structured Variables
  39. The user must give special consideration to ARRAYS OF FILE,  RECORDS with
  40. file  components,  and pointers to FILE types or other types with FILE 
  41. components.   Before any programmatic reference to these items it 
  42. is necessary to call the  standard procedure 
  43. FILEINIT(f) for each and every file component.   After this the
  44. system  will  function normally,  except that no automatic file close on  exit
  45. from the block in which the file was declared will occur.   Again the user must
  46. specifically execute the standard procedure CLOSE(f) for each file opened (via
  47. reset/rewrite and equivalent procedures).  Under CP/m, if the file has only
  48. been used for reading (opened via RESET or EXISTS) the final close is not
  49. necessary.  However inclusion of the close statement will avoid portability
  50. problems, and possible problems if program modifications are made later.
  51. .hl 1 Reads of Real Variables
  52. On input,  reads of real variables do not insist on a leading digit,  but
  53. will accept values starting with ".".  This is deliberate, and avoids nuisance
  54. run-time errors.
  55. #u