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()
© 2007-2017, o7 studio » при воспроизведении материала сайта ссылка обязательна