Reference Manual - Table of Contents

Execution Control
Forms and Windows
Controls
Menus
System and Desktop
Graphic Drawing Commands

Animation
QuickTime Movies
Speech
Sound
File I/O
Printing
Serial Ports

Math Functions
String Functions
Date and Time
Memory Buffers
Error Handling
Console Text Window

Events

Direct Memory Access
Direct Mouse Access
Direct Keyboard Access
Code Resource Modules

A - Runtime Error Messages
B - Compiler Error Messages

Direct Memory Access

 

Command Summary:
Poke memoryAddress, byteValue
PokeInt
memoryAddress, intValue
PokeLong
memoryAddress, longValue

Function Summary:
var = Peek( memoryAddress )
var = PeekInt( memoryAddress )
var = PeekLong( memoryAddress )
var = VarAddr( variable )

 

Poke memoryAddress, byteValue

This command sets a single byte pointed to by the specified memory address to the byte represented by byteValue.

PokeInt memoryAddress, intValue

This command sets two bytes pointed to by the specified memory address to the integer represented by intValue.

PokeLong memoryAddress, longValue

This command sets a four bytes pointed to by the specified memory address address to the integer represented by longValue.

var = Peek( memoryAddress )

This function returns the character (1 byte) value from the specified memory address.

var = PeekInt( memoryAddress )

This function returns the integer (2 byte) value from the specified memory address.

var = PeekLong( memoryAddress )

This function returns the long (4 byte) value from the specified memory address.

var = VarAddr( variable )

This function returns the memory address of the specified memory variable.