localize.pp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. (******************************************************************************
  2. *
  3. * Copyright (c) 1996-2000 Palm, Inc. or its subsidiaries.
  4. * All rights reserved.
  5. *
  6. * File: Localize.h
  7. *
  8. * Release: Palm OS SDK 4.0 (63220)
  9. *
  10. * Description:
  11. * Functions to localize data.
  12. *
  13. * History:
  14. * 8/28/96 Roger - Initial version
  15. *
  16. *****************************************************************************)
  17. unit localize;
  18. interface
  19. uses palmos, coretraps;
  20. // The number format (thousands separator and decimal point). This defines
  21. // how numbers are formatted and not neccessarily currency numbers (i.e. Switzerland).
  22. type
  23. NumberFormatType = Enum;
  24. const
  25. nfCommaPeriod = 0;
  26. nfPeriodComma = Succ(nfCommaPeriod);
  27. nfSpaceComma = Succ(nfPeriodComma);
  28. nfApostrophePeriod = Succ(nfSpaceComma);
  29. nfApostropheComma = Succ(nfApostrophePeriod);
  30. procedure LocGetNumberSeparators(numberFormat: NumberFormatType; thousandSeparator, decimalSeparator: PChar); syscall sysTrapLocGetNumberSeparators;
  31. implementation
  32. end.