Remote Processing Coorporation RPC-320 Dokumentacja Strona 77

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 186
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 76
Commands - 47
FPEEK and FPOKE
Memory Function and Statement
SYNTAX: a = FPEEK(address)
a = FPEEK(address,segment)
FPOKE address, data
FPOKE address, data, segment
PURPOSE: FPEEK returns a floating point number previously stored in memory.
FPOKE writes a floating point number to memory.
REMARKS: This function can be used to write and retrieve data stored in memory. This is very useful in data
logging and process data storage and retrieval.
The first syntax applies to the first 64K of memory (segment 0). For addresses above segment 0, use
the second syntax. Not all cards support segmented memory.
FPEEK and FPOKE are the fastest way to write and retrieve data from memory.
RELATED: DPEEK, DPOKE, PEEK, PEEK$, POKE, POKE$
EXAMPLE: 10 FPOKE &A000,1.25
20 A=FPEEK(&A000)
10 D=FPEEK(200,1)
ERROR: <Data > 65,535> – address, data and segment
<Data negative> – for address
<Data out of range> – if segment > 15
Przeglądanie stron 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 185 186

Komentarze do niniejszej Instrukcji

Brak uwag