C H A P T E R 2 6
Utility Functions
26-6
Compatibility
GetMemorySlot
MakePhone
MakeDisplayPhone
ParsePhone
PowerOff
Translate
Enhanced Functions
26
The following string function has been enhanced in Newton 2.0.
ParamStr
has been enhanced to support conditional substitution.
Obsolete Functions
26
Some utility functions previously documented in the Newton Programmer's Guide
are obsolete, but are still supported for compatibility with older applications. Do
not use the following utility functions, as they may not be supported in future
system software versions:
AddDeferredAction
(use
AddDeferredCall
instead)
AddDelayedAction
(use
AddDelayedCall
instead)
AddPowerOffHandler
(use
RegPowerOff
instead)
ArrayPos
(use
LSearch
instead)
GetGlobals (
use
GetGlobalVar
or
GetGlobalFn
instead)
RemovePowerOffHandler
(use
UnRegPowerOff
instead)
SmartStart
(use other string manipulation functions)
SmartConcat
(use other string manipulation functions)
SmartStop
(use other string manipulation functions)
StrTruncate
(use
StyledStrTruncate
instead)
StrWidth
(use
StrFontWidth
instead)