STRINGS.LST 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Listing:
  2. 1 (* Release 3.10 *)
  3. 2 (*-------------------------------------------------------------------------*
  4. 3 * *
  5. 4 * STRINGS.MOD - String handling (core library) *
  6. 5 * *
  7. 6 * COPYRIGHT (C) 1987..1992 Clarion Software Corporation. *
  8. 7 * All Rights Reserved *
  9. 8 * *
  10. 9 *--------------------------------------------------------------------------*)
  11. 10
  12. 11 (*$V-*)
  13. 12
  14. 13 IMPLEMENTATION MODULE Strings;
  15. 14
  16. 15 PROCEDURE Assign ( source : ARRAY OF CHAR ;
  17. ***** ^ not supported yet
  18. 16 VAR dest : ARRAY OF CHAR ) ;
  19. ***** ^ not supported yet
  20. 17 BEGIN
  21. 18 Str.Copy(dest,source) ;
  22. ***** ^ undeclared identifier
  23. ***** ^ not supported yet
  24. ***** ^ not supported yet
  25. ***** ^ not supported yet
  26. 19 END Assign ;
  27. ***** ^ not supported yet
  28. 20
  29. 21 PROCEDURE Insert ( substr : ARRAY OF CHAR;
  30. ***** ^ not supported yet
  31. 22 VAR str : ARRAY OF CHAR ;
  32. ***** ^ not supported yet
  33. 23 inx : CARDINAL ) ;
  34. 24 BEGIN
  35. 25 Str.Insert ( str,substr,inx ) ;
  36. ***** ^ undeclared identifier
  37. ***** ^ not supported yet
  38. ***** ^ not supported yet
  39. ***** ^ not supported yet
  40. ***** ^ not supported yet
  41. 26 END Insert ;
  42. ***** ^ not supported yet
  43. 27
  44. 28 PROCEDURE Pos ( substr : ARRAY OF CHAR;
  45. ***** ^ not supported yet
  46. 29 VAR str : ARRAY OF CHAR ) : CARDINAL ;
  47. ***** ^ not supported yet
  48. 30 BEGIN
  49. 31 RETURN Str.Pos(str,substr) ;
  50. ***** ^ undeclared identifier
  51. ***** ^ not supported yet
  52. ***** ^ not supported yet
  53. ***** ^ not supported yet
  54. 32 END Pos ;
  55. ***** ^ not supported yet
  56. 33
  57. 34 PROCEDURE Copy ( str : ARRAY OF CHAR ;
  58. ***** ^ not supported yet
  59. 35 inx : CARDINAL ;
  60. 36 len : CARDINAL ;
  61. 37 VAR result : ARRAY OF CHAR ) ;
  62. ***** ^ not supported yet
  63. 38 BEGIN
  64. 39 Str.Slice(result,str,inx,len) ;
  65. ***** ^ undeclared identifier
  66. ***** ^ not supported yet
  67. ***** ^ not supported yet
  68. ***** ^ not supported yet
  69. ***** ^ not supported yet
  70. 40 END Copy ;
  71. ***** ^ not supported yet
  72. 41
  73. 42 PROCEDURE Concat ( s1,s2 : ARRAY OF CHAR ;
  74. ***** ^ not supported yet
  75. 43 VAR result : ARRAY OF CHAR ) ;
  76. ***** ^ not supported yet
  77. 44 BEGIN
  78. 45 Str.Concat (result,s1,s2) ;
  79. ***** ^ undeclared identifier
  80. ***** ^ not supported yet
  81. ***** ^ not supported yet
  82. ***** ^ not supported yet
  83. ***** ^ not supported yet
  84. 46 END Concat ;
  85. ***** ^ not supported yet
  86. 47
  87. 48 END Strings.
  88. ***** ^ not supported yet
  89. 39 errors