beautypg.com

Data extraction functions 26, Data stuffing functions 26, Debugging functions 26 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 903

background image

C H A P T E R 2 6

Utility Functions

Summary of Functions and Methods

26-13

Data Extraction Functions

26

ExtractByte(

data

,

offset

)

ExtractBytes(

data

,

offset

,

length

,

class

)

ExtractChar(

data

,

offset

)

ExtractLong(

data

,

offset

)

ExtractXLong(

data

,

offset

)

ExtractWord(

data

,

offset

)

ExtractCString(

data

,

offset

)

ExtractPString(

data

,

offset

)

ExtractUniChar(

data

,

offset

)

Data Stuffing Functions

26

StuffByte(

obj

,

offset

,

toInsert

)

StuffChar(

obj

,

offset

,

toInsert

)

StuffCString(

obj

,

offset

,

aString

)

StuffLong(

obj

,

offset

,

toInsert

)

StuffPString(

obj

,

offset

,

aString

)

StuffUniChar(

obj

,

offset

,

toInsert

)

StuffWord(

obj

,

offset

,

toInsert

)

Getting and Setting Global Variables and Functions

26

GetGlobalFn(

symbol

)

GetGlobalVar(

symbol

)

GlobalFnExists(

symbol

)

GlobalVarExists(

symbol

)

DefGlobalFn(

symbol

,

function

)

DefGlobalVar(

symbol

,

value

)

UnDefGlobalFn(

symbol

)

UnDefGlobalVar(

symbol

)

Debugging Functions

26

BreakLoop()

DV(

view

)

GC()

ExitBreakLoop()

StackTrace()