PRINTFBA.LST 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Listing:
  2. 1 (* Release 3.10 *)
  3. 2 (*-------------------------------------------------------------------------*
  4. 3 * *
  5. 4 * PRINTFBA.DEF - COMMS Toolkit formatted i/o support *
  6. 5 * *
  7. 6 * COPYRIGHT (C) 1988..1992 Clarion Software Corporation. *
  8. 7 * All Rights Reserved *
  9. 8 * *
  10. 9 *--------------------------------------------------------------------------*)
  11. 10
  12. 11 DEFINITION MODULE PrintFBase;
  13. 12
  14. 13 VAR
  15. 14 Data : ADDRESS; (* A ptr to the value to be converted *)
  16. ***** ^ undeclared identifier
  17. 15 RightJustify, (* right justify if FieldWidth > 0, default FALSE *)
  18. 16 AlwaysSigned : BOOLEAN; (* always output a sign, even when positive *)
  19. 17 DataSize, (* the size in bytes of the data pointed to by Data *)
  20. 18 FieldWidth, (* the requested total width of a field to be output *)
  21. 19 Places : CARDINAL; (* the requested number of decimal places *)
  22. 20 PadChar, (* the char to use for padding *)
  23. 21 TypeChar, (* the type character used in the field specification *)
  24. 22 Positive : CHAR; (* the character to use as the sign when positive, eg *)
  25. 23 (* usually '+' or ' '. This char is not used when *)
  26. 24 (* AlwaysSigned=FALSE *)
  27. 25 DestString : ARRAY[0..255] OF CHAR;
  28. ***** ^ not supported yet
  29. ***** ^ not supported yet
  30. 26 (* the result of all conversions should be placed in *)
  31. 27 (* this string. *)
  32. 28
  33. 29 PROCEDURE DoPrintF(VAR pat:ARRAY OF CHAR;VAR arg1,arg2,arg3,arg4,arg5:ARRAY OF BYTE;VAR dest:ARRAY OF CHAR;NumArgs:CARDINAL);
  34. ***** ^ not supported yet
  35. ***** ^ undeclared identifier
  36. ***** ^ not supported yet
  37. 30 PROCEDURE NewConversion(TypeChar:CHAR; ConvertRoutine:PROC);
  38. ***** ^ undeclared identifier
  39. 31
  40. 32 END PrintFBase.
  41. ***** ^ not supported yet
  42. 33
  43. 8 errors