PMIGLOBA.LST 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558
  1. Listing:
  2. 1 IMPLEMENTATION MODULE PMIGlobals;
  3. 2 (*
  4. 3 * ModBase
  5. 4 * Release 3.0
  6. 5 * (c) Copyright 1986 - 1991 PMI
  7. 6 * P.O. Box 8402
  8. 7 * Green Bay Wi 53308
  9. 8 * All Rights Reserved
  10. 9 * by Ed Ross
  11. 10 *)
  12. 11
  13. 12 FROM EnvironUtils IMPORT GetDate;
  14. 13 FROM DateFunctions IMPORT DatePlusDays,DateToStr,DayOfWeek,DaysSince1900;
  15. 14 FROM PosUtils IMPORT Equal;
  16. 15 FROM HandleIO IMPORT CreateFile,OpenFile,BlockRead,BlockWrite,FileExists;
  17. 16 FROM ScrnTypes IMPORT DisplayFrame,InitDisplayFrame;
  18. 17 FROM DspFiles IMPORT ReadDisplayFrame;
  19. 18 FROM ScrnUtl2 IMPORT CloseDisplayFrame;
  20. 19 FROM LowLevel IMPORT Fill;
  21. 20 FROM StrEdit IMPORT CrunchBlanks,Center,AssignStr;
  22. 21 FROM FramePainter IMPORT ShowDisplayFrame;
  23. 22 FROM ControlUtils IMPORT ChangeField,ReadInput,Control;
  24. 23 FROM DBUtils IMPORT ChangeCardField,ChangeRealField,
  25. 24 ReadCardField,ReadRealField;
  26. 25 FROM VWindows IMPORT CurrentWindow;
  27. 26 FROM StringIO IMPORT ErrorMessage;
  28. 27 FROM SYSTEM IMPORT ADR,SIZE;
  29. 28 FROM HandleIO IMPORT BlockRead, BlockWrite, CloseHandle, CreateFile,
  30. ***** ^ duplicate identifier
  31. ***** ^ duplicate identifier
  32. ***** ^ duplicate identifier
  33. ***** ^ duplicate identifier
  34. 29 FileExists, FileOffSet, OpenFile, SetFilePtr;
  35. ***** ^ duplicate identifier
  36. ***** ^ duplicate identifier
  37. 30 FROM DBUtils IMPORT PrintTitle;
  38. ***** ^ duplicate identifier
  39. 31 PROCEDURE EditConfig();
  40. 32 VAR
  41. 33 DF : DisplayFrame;
  42. 34 H : CARDINAL;
  43. 35 NextInvNbr : CARDINAL; (* updated only for display and reset *)
  44. 36 NextCustNbr : CARDINAL;
  45. 37 NextPONbr : CARDINAL;
  46. 38 EM : ErrorMessage;
  47. 39 BEGIN
  48. 40 InitDisplayFrame(DF,CurrentWindow);
  49. ***** ^ not supported yet
  50. ***** ^ not supported yet
  51. ***** ^ not supported yet
  52. 41 ReadDisplayFrame(PMIScreens,DF,'PMIConfig');
  53. ***** ^ not supported yet
  54. ***** ^ undeclared identifier
  55. ***** ^ not supported yet
  56. ***** ^ not supported yet
  57. 42 EM := OpenFile(H,'Inseq');
  58. ***** ^ not supported yet
  59. ***** ^ not supported yet
  60. ***** ^ not supported yet
  61. 43 EM := BlockRead(H,ADR(NextInvNbr),SIZE(NextInvNbr));
  62. ***** ^ not supported yet
  63. ***** ^ not supported yet
  64. ***** ^ not supported yet
  65. ***** ^ not supported yet
  66. ***** ^ not supported yet
  67. ***** ^ not supported yet
  68. 44 EM := CloseHandle(H);
  69. ***** ^ not supported yet
  70. ***** ^ not supported yet
  71. ***** ^ not supported yet
  72. 45
  73. 46 EM := OpenFile(H,'Cuseq');
  74. ***** ^ not supported yet
  75. ***** ^ not supported yet
  76. ***** ^ not supported yet
  77. 47 EM := BlockRead(H,ADR(NextCustNbr),SIZE(NextCustNbr));
  78. ***** ^ not supported yet
  79. ***** ^ not supported yet
  80. ***** ^ not supported yet
  81. ***** ^ not supported yet
  82. ***** ^ not supported yet
  83. ***** ^ not supported yet
  84. 48 EM := CloseHandle(H);
  85. ***** ^ not supported yet
  86. ***** ^ not supported yet
  87. ***** ^ not supported yet
  88. 49
  89. 50 EM := OpenFile(H,'POseq');
  90. ***** ^ not supported yet
  91. ***** ^ not supported yet
  92. ***** ^ not supported yet
  93. 51 EM := BlockRead(H,ADR(NextPONbr),SIZE(NextPONbr));
  94. ***** ^ not supported yet
  95. ***** ^ not supported yet
  96. ***** ^ not supported yet
  97. ***** ^ not supported yet
  98. ***** ^ not supported yet
  99. ***** ^ not supported yet
  100. 52 EM := CloseHandle(H);
  101. ***** ^ not supported yet
  102. ***** ^ not supported yet
  103. ***** ^ not supported yet
  104. 53
  105. 54
  106. 55 WITH Config DO
  107. ***** ^ undeclared identifier
  108. 56 ChangeField(DF,CompanyName,'CompanyName',TRUE);
  109. ***** ^ not supported yet
  110. ***** ^ not supported yet
  111. ***** ^ undeclared identifier
  112. ***** ^ not supported yet
  113. ***** ^ not supported yet
  114. 57 ChangeField(DF,CompanyAddr1,'Address1',TRUE);
  115. ***** ^ not supported yet
  116. ***** ^ not supported yet
  117. ***** ^ undeclared identifier
  118. ***** ^ not supported yet
  119. ***** ^ not supported yet
  120. 58 ChangeField(DF,CompanyAddr2,'Address2',TRUE);
  121. ***** ^ not supported yet
  122. ***** ^ not supported yet
  123. ***** ^ undeclared identifier
  124. ***** ^ not supported yet
  125. ***** ^ not supported yet
  126. 59 ChangeField(DF,Phone,'Phone',TRUE);
  127. ***** ^ not supported yet
  128. ***** ^ not supported yet
  129. ***** ^ undeclared identifier
  130. ***** ^ not supported yet
  131. ***** ^ not supported yet
  132. 60 ChangeField(DF,InvoicePrt,'invprn',TRUE);
  133. ***** ^ not supported yet
  134. ***** ^ not supported yet
  135. ***** ^ undeclared identifier
  136. ***** ^ not supported yet
  137. ***** ^ not supported yet
  138. 61 ChangeField(DF,PksSlipPrt,'pkgprn',TRUE);
  139. ***** ^ not supported yet
  140. ***** ^ not supported yet
  141. ***** ^ undeclared identifier
  142. ***** ^ not supported yet
  143. ***** ^ not supported yet
  144. 62 ChangeField(DF,ReportPrt,'rptprn',TRUE);
  145. ***** ^ not supported yet
  146. ***** ^ not supported yet
  147. ***** ^ undeclared identifier
  148. ***** ^ not supported yet
  149. ***** ^ not supported yet
  150. 63 ChangeField(DF,LabelPrt,'labprn',TRUE);
  151. ***** ^ not supported yet
  152. ***** ^ not supported yet
  153. ***** ^ undeclared identifier
  154. ***** ^ not supported yet
  155. ***** ^ not supported yet
  156. 64 ChangeField(DF,InvoicePre,'PreInvoice',TRUE);
  157. ***** ^ not supported yet
  158. ***** ^ not supported yet
  159. ***** ^ undeclared identifier
  160. ***** ^ not supported yet
  161. ***** ^ not supported yet
  162. 65 ChangeField(DF,PurchOrdPre,'PrePONbr',TRUE);
  163. ***** ^ not supported yet
  164. ***** ^ not supported yet
  165. ***** ^ undeclared identifier
  166. ***** ^ not supported yet
  167. ***** ^ not supported yet
  168. 66 ChangeField(DF,CustNbrPre,'PreCust',TRUE);
  169. ***** ^ not supported yet
  170. ***** ^ not supported yet
  171. ***** ^ undeclared identifier
  172. ***** ^ not supported yet
  173. ***** ^ not supported yet
  174. 67 ChangeRealField(DF,TaxRate,'TaxRate');
  175. ***** ^ not supported yet
  176. ***** ^ not supported yet
  177. ***** ^ undeclared identifier
  178. ***** ^ not supported yet
  179. 68 ChangeCardField(DF,NextInvNbr,'NxtInvoice');
  180. ***** ^ not supported yet
  181. ***** ^ not supported yet
  182. ***** ^ not supported yet
  183. 69 ChangeCardField(DF,NextCustNbr,'NxtCust');
  184. ***** ^ not supported yet
  185. ***** ^ not supported yet
  186. ***** ^ not supported yet
  187. 70 ChangeCardField(DF,NextPONbr,'NxtPONbr');
  188. ***** ^ not supported yet
  189. ***** ^ not supported yet
  190. ***** ^ not supported yet
  191. 71 ChangeRealField(DF,OvertimeCharge,'GasChg');
  192. ***** ^ not supported yet
  193. ***** ^ not supported yet
  194. ***** ^ undeclared identifier
  195. ***** ^ not supported yet
  196. 72 ChangeCardField(DF,KeepPaymentHist,'KeepDays');
  197. ***** ^ not supported yet
  198. ***** ^ not supported yet
  199. ***** ^ undeclared identifier
  200. ***** ^ not supported yet
  201. 73 ShowDisplayFrame(DF,0,0,0,0);
  202. ***** ^ not supported yet
  203. ***** ^ not supported yet
  204. ***** ^ not supported yet
  205. 74 Control(DF);
  206. ***** ^ not supported yet
  207. ***** ^ not supported yet
  208. 75
  209. 76 ReadInput(DF,CompanyName,'CompanyName');
  210. ***** ^ not supported yet
  211. ***** ^ not supported yet
  212. ***** ^ undeclared identifier
  213. ***** ^ not supported yet
  214. 77 ReadInput(DF,CompanyAddr1,'Address1');
  215. ***** ^ not supported yet
  216. ***** ^ not supported yet
  217. ***** ^ undeclared identifier
  218. ***** ^ not supported yet
  219. 78 ReadInput(DF,CompanyAddr2,'Address2');
  220. ***** ^ not supported yet
  221. ***** ^ not supported yet
  222. ***** ^ undeclared identifier
  223. ***** ^ not supported yet
  224. 79 ReadInput(DF,Phone,'Phone');
  225. ***** ^ not supported yet
  226. ***** ^ not supported yet
  227. ***** ^ undeclared identifier
  228. ***** ^ not supported yet
  229. 80 ReadInput(DF,InvoicePrt,'invprn');
  230. ***** ^ not supported yet
  231. ***** ^ not supported yet
  232. ***** ^ undeclared identifier
  233. ***** ^ not supported yet
  234. 81 ReadInput(DF,PksSlipPrt,'pkgprn');
  235. ***** ^ not supported yet
  236. ***** ^ not supported yet
  237. ***** ^ undeclared identifier
  238. ***** ^ not supported yet
  239. 82 ReadInput(DF,ReportPrt,'rptprn');
  240. ***** ^ not supported yet
  241. ***** ^ not supported yet
  242. ***** ^ undeclared identifier
  243. ***** ^ not supported yet
  244. 83 ReadInput(DF,LabelPrt,'labprn');
  245. ***** ^ not supported yet
  246. ***** ^ not supported yet
  247. ***** ^ undeclared identifier
  248. ***** ^ not supported yet
  249. 84 ReadInput(DF,InvoicePre,'PreInvoice');
  250. ***** ^ not supported yet
  251. ***** ^ not supported yet
  252. ***** ^ undeclared identifier
  253. ***** ^ not supported yet
  254. 85 ReadInput(DF,CustNbrPre,'PreCust');
  255. ***** ^ not supported yet
  256. ***** ^ not supported yet
  257. ***** ^ undeclared identifier
  258. ***** ^ not supported yet
  259. 86 ReadInput(DF,PurchOrdPre,'PrePONbr');
  260. ***** ^ not supported yet
  261. ***** ^ not supported yet
  262. ***** ^ undeclared identifier
  263. ***** ^ not supported yet
  264. 87 ReadRealField(DF,TaxRate,'TaxRate');
  265. ***** ^ not supported yet
  266. ***** ^ not supported yet
  267. ***** ^ undeclared identifier
  268. ***** ^ not supported yet
  269. 88 ReadCardField(DF,NextInvNbr,'NxtInvoice');
  270. ***** ^ not supported yet
  271. ***** ^ not supported yet
  272. ***** ^ not supported yet
  273. 89 ReadCardField(DF,NextPONbr,'NxtPONbr');
  274. ***** ^ not supported yet
  275. ***** ^ not supported yet
  276. ***** ^ not supported yet
  277. 90 ReadCardField(DF,NextCustNbr,'NxtCust');
  278. ***** ^ not supported yet
  279. ***** ^ not supported yet
  280. ***** ^ not supported yet
  281. 91 ReadCardField(DF,KeepPaymentHist,'KeepDays');
  282. ***** ^ not supported yet
  283. ***** ^ not supported yet
  284. ***** ^ undeclared identifier
  285. ***** ^ not supported yet
  286. 92 ReadRealField(DF,OvertimeCharge,'GasChg');
  287. ***** ^ not supported yet
  288. ***** ^ not supported yet
  289. ***** ^ undeclared identifier
  290. ***** ^ not supported yet
  291. 93
  292. 94 END; (* end with *)
  293. ***** ^ not supported yet
  294. 95 EM := OpenFile(H,'PMI.cfg');
  295. ***** ^ undeclared identifier
  296. ***** ^ not supported yet
  297. ***** ^ undeclared identifier
  298. ***** ^ not supported yet
  299. 96 EM := BlockWrite(H,ADR(Config),SIZE(Config));
  300. ***** ^ undeclared identifier
  301. ***** ^ not supported yet
  302. ***** ^ undeclared identifier
  303. ***** ^ not supported yet
  304. ***** ^ undeclared identifier
  305. ***** ^ not supported yet
  306. ***** ^ undeclared identifier
  307. 97 EM := CloseHandle(H);
  308. ***** ^ undeclared identifier
  309. ***** ^ not supported yet
  310. ***** ^ undeclared identifier
  311. 98
  312. 99 EM := OpenFile(H,'Inseq');
  313. ***** ^ undeclared identifier
  314. ***** ^ not supported yet
  315. ***** ^ undeclared identifier
  316. ***** ^ not supported yet
  317. 100 EM := BlockWrite(H,ADR(NextInvNbr),SIZE(NextInvNbr));
  318. ***** ^ undeclared identifier
  319. ***** ^ not supported yet
  320. ***** ^ undeclared identifier
  321. ***** ^ not supported yet
  322. ***** ^ undeclared identifier
  323. ***** ^ not supported yet
  324. ***** ^ undeclared identifier
  325. 101 EM := CloseHandle(H);
  326. ***** ^ undeclared identifier
  327. ***** ^ not supported yet
  328. ***** ^ undeclared identifier
  329. 102
  330. 103 EM := OpenFile(H,'POSeq');
  331. ***** ^ undeclared identifier
  332. ***** ^ not supported yet
  333. ***** ^ undeclared identifier
  334. ***** ^ not supported yet
  335. 104 EM := BlockWrite(H,ADR(NextPONbr),SIZE(NextPONbr));
  336. ***** ^ undeclared identifier
  337. ***** ^ not supported yet
  338. ***** ^ undeclared identifier
  339. ***** ^ not supported yet
  340. ***** ^ undeclared identifier
  341. ***** ^ not supported yet
  342. ***** ^ undeclared identifier
  343. 105 EM := CloseHandle(H);
  344. ***** ^ undeclared identifier
  345. ***** ^ not supported yet
  346. ***** ^ undeclared identifier
  347. 106
  348. 107
  349. 108
  350. 109 EM := OpenFile(H,'Cuseq');
  351. ***** ^ undeclared identifier
  352. ***** ^ not supported yet
  353. ***** ^ undeclared identifier
  354. ***** ^ not supported yet
  355. 110 EM := BlockWrite(H,ADR(NextCustNbr),SIZE(NextCustNbr));
  356. ***** ^ undeclared identifier
  357. ***** ^ not supported yet
  358. ***** ^ undeclared identifier
  359. ***** ^ not supported yet
  360. ***** ^ undeclared identifier
  361. ***** ^ not supported yet
  362. ***** ^ undeclared identifier
  363. 111 EM := CloseHandle(H);
  364. ***** ^ undeclared identifier
  365. ***** ^ not supported yet
  366. ***** ^ undeclared identifier
  367. 112
  368. 113 CloseDisplayFrame(DF);
  369. ***** ^ not supported yet
  370. ***** ^ undeclared identifier
  371. 114 END EditConfig;
  372. ***** ^ not supported yet
  373. 115
  374. 116 PROCEDURE NormalTitle(VAR LastLine : ARRAY OF CHAR);
  375. ***** ^ not supported yet
  376. 117 VAR
  377. 118 J : CARDINAL;
  378. 119 BEGIN
  379. 120 AssignStr(PrintTitle[0], Config.CompanyName);
  380. ***** ^ not supported yet
  381. ***** ^ not supported yet
  382. ***** ^ not supported yet
  383. ***** ^ undeclared identifier
  384. ***** ^ not supported yet
  385. 121 AssignStr(PrintTitle[1], Config.CompanyAddr1);
  386. ***** ^ not supported yet
  387. ***** ^ not supported yet
  388. ***** ^ not supported yet
  389. ***** ^ undeclared identifier
  390. ***** ^ not supported yet
  391. 122 AssignStr(PrintTitle[2], Config.CompanyAddr2);
  392. ***** ^ not supported yet
  393. ***** ^ not supported yet
  394. ***** ^ not supported yet
  395. ***** ^ undeclared identifier
  396. ***** ^ not supported yet
  397. 123 AssignStr(PrintTitle[3], Config.Phone);
  398. ***** ^ not supported yet
  399. ***** ^ not supported yet
  400. ***** ^ not supported yet
  401. ***** ^ undeclared identifier
  402. ***** ^ not supported yet
  403. 124 PrintTitle[4,0] := CHR(0);
  404. ***** ^ not supported yet
  405. ***** ^ not supported yet
  406. ***** ^ undeclared identifier
  407. ***** ^ not supported yet
  408. 125 AssignStr(PrintTitle[5], TodayStr);
  409. ***** ^ not supported yet
  410. ***** ^ not supported yet
  411. ***** ^ not supported yet
  412. ***** ^ undeclared identifier
  413. 126 AssignStr(PrintTitle[6], LastLine);
  414. ***** ^ not supported yet
  415. ***** ^ not supported yet
  416. ***** ^ not supported yet
  417. ***** ^ not supported yet
  418. 127 FOR J := 0 TO 6 DO
  419. 128 CrunchBlanks(PrintTitle[J]);
  420. ***** ^ not supported yet
  421. ***** ^ not supported yet
  422. ***** ^ not supported yet
  423. 129 Center(PrintTitle[J],79);
  424. ***** ^ not supported yet
  425. ***** ^ not supported yet
  426. ***** ^ not supported yet
  427. ***** ^ not supported yet
  428. 130 END;
  429. 131 END NormalTitle;
  430. ***** ^ not supported yet
  431. 132
  432. 133 PROCEDURE OpenReportDevice() : CARDINAL;
  433. 134 VAR EM : CARDINAL;
  434. 135 Handle : CARDINAL;
  435. 136 BEGIN
  436. 137
  437. 138 EM := OpenFile(Handle,Config.ReportPrt);
  438. ***** ^ not supported yet
  439. ***** ^ undeclared identifier
  440. ***** ^ not supported yet
  441. 139 IF EM = 0
  442. 140 THEN RETURN Handle;
  443. 141 ELSE RETURN 0;
  444. 142 END;
  445. 143 END OpenReportDevice;
  446. ***** ^ not supported yet
  447. 144
  448. 145 PROCEDURE CloseReportDevice(Device : CARDINAL);
  449. 146 VAR
  450. 147 EM : CARDINAL;
  451. 148 BEGIN
  452. 149 EM := CloseHandle(Device);
  453. ***** ^ not supported yet
  454. ***** ^ not supported yet
  455. 150 END CloseReportDevice;
  456. ***** ^ not supported yet
  457. 151
  458. 152 PROCEDURE GlobalInit();
  459. 153 VAR
  460. 154 Str1,Str2 : ARRAY[0..15] OF CHAR;
  461. ***** ^ not supported yet
  462. ***** ^ not supported yet
  463. 155 B : BOOLEAN;
  464. 156 EM : CARDINAL;
  465. 157 H : CARDINAL;
  466. 158 BEGIN
  467. 159 IF FileExists('PMI.CFG')
  468. ***** ^ not supported yet
  469. ***** ^ not supported yet
  470. 160 THEN
  471. 161 EM := OpenFile(H,'PMI.cfg');
  472. ***** ^ not supported yet
  473. ***** ^ not supported yet
  474. 162 EM := BlockRead(H,ADR(Config),SIZE(Config));
  475. ***** ^ not supported yet
  476. ***** ^ not supported yet
  477. ***** ^ undeclared identifier
  478. ***** ^ not supported yet
  479. ***** ^ undeclared identifier
  480. 163
  481. 164 ELSE
  482. 165 Fill(ADR(Config),SIZE(Config),0);
  483. ***** ^ not supported yet
  484. ***** ^ not supported yet
  485. ***** ^ undeclared identifier
  486. ***** ^ not supported yet
  487. ***** ^ undeclared identifier
  488. ***** ^ not supported yet
  489. 166 EM := CreateFile(H,'PMI.CFG');
  490. ***** ^ not supported yet
  491. ***** ^ not supported yet
  492. 167 EM := BlockWrite(H,ADR(Config),SIZE(Config));
  493. ***** ^ not supported yet
  494. ***** ^ not supported yet
  495. ***** ^ undeclared identifier
  496. ***** ^ not supported yet
  497. ***** ^ undeclared identifier
  498. 168 END;
  499. 169 EM := CloseHandle(H);
  500. ***** ^ not supported yet
  501. ***** ^ not supported yet
  502. 170 GetDate(Today.mo,Today.day,Today.yr,Str2,TodayStr);
  503. ***** ^ not supported yet
  504. ***** ^ undeclared identifier
  505. ***** ^ not supported yet
  506. ***** ^ undeclared identifier
  507. ***** ^ not supported yet
  508. ***** ^ undeclared identifier
  509. ***** ^ not supported yet
  510. ***** ^ not supported yet
  511. ***** ^ undeclared identifier
  512. 171 DateToStr(Today,TodayStr,B);
  513. ***** ^ not supported yet
  514. ***** ^ undeclared identifier
  515. ***** ^ undeclared identifier
  516. ***** ^ not supported yet
  517. 172 TodayP30 := Today;
  518. ***** ^ undeclared identifier
  519. ***** ^ undeclared identifier
  520. 173 TodayDays := DaysSince1900(Today);
  521. ***** ^ undeclared identifier
  522. ***** ^ not supported yet
  523. ***** ^ undeclared identifier
  524. 174 DatePlusDays(TodayP30,30,B); (* today plus 30 *)
  525. ***** ^ not supported yet
  526. ***** ^ undeclared identifier
  527. ***** ^ not supported yet
  528. 175 DayOfWeek(TodayP30,Str1);
  529. ***** ^ not supported yet
  530. ***** ^ undeclared identifier
  531. ***** ^ not supported yet
  532. 176 IF Equal(Str1,'SATURDAY')
  533. ***** ^ not supported yet
  534. ***** ^ not supported yet
  535. ***** ^ not supported yet
  536. 177 THEN DatePlusDays(TodayP30,2,B); (* make due date a weekday *)
  537. ***** ^ not supported yet
  538. ***** ^ undeclared identifier
  539. ***** ^ not supported yet
  540. 178 ELSIF Equal(Str2,'SUNDAY')
  541. ***** ^ not supported yet
  542. ***** ^ not supported yet
  543. ***** ^ not supported yet
  544. 179 THEN DatePlusDays(TodayP30,1,B);
  545. ***** ^ not supported yet
  546. ***** ^ undeclared identifier
  547. ***** ^ not supported yet
  548. 180 END;
  549. 181 END GlobalInit;
  550. ***** ^ not supported yet
  551. 182
  552. 183 END PMIGlobals.
  553. ***** ^ not supported yet
  554. 369 errors