qb45advr.hlp (
Topic list)
POKE Statement Details
◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index►
──────────────────────────────────────────────────────────────────────────────
POKE Statement Details
Syntax
POKE address,byte
The expression address is a value that represents the address of the memory
location; address must be in the range 0-65,535.
The expression byte is the data byte to be written; it is an integer value
in the range 0-255.
The address is treated as the offset from the current default segment (as
set by the DEF SEG statement).
If the argument is a single- or double-precision floating-point value or a
long integer, it is converted to a two-byte integer.
The complementary function to POKE is PEEK.
----- Warning -----
Use POKE carefully. If used incorrectly, it can cause BASIC or the
operating system to fail.
-------------------