Remote-processing BASIC 52 Instrukcja Użytkownika Strona 116

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 163
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 115
RPBASIC-52 PROGRAMMING GUIDE
2-97
RND
Syntax: RND
Function: Returns a pseudo-random fractional number between zero and one inclusive.
Mode: Command, run
Use: A=RND
Cards: All
DESCRIPTION
The RND operator uses a 16-bit binary seed and repeats after 65535 pseudo-random numbers. The initial
seed is the value of MTOP. The seed can be changed by writing to address 10CH and 10DH using the XBY
command.
EXAMPLE
100 A=RND
110 PRINT A
Przeglądanie stron 115
1 2 ... 111 112 113 114 115 116 117 118 119 120 121 ... 162 163

Komentarze do niniejszej Instrukcji

Brak uwag