Remote-processing BASIC for the CX-10 Modbus Instrukcja Użytkownika Strona 63

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 84
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 62
BASIC PROGRAMMING GUIDE
2-54
RND
Syntax: RND
Function: Returns a pseudo-random fractional number between zero and one inclusive.
Mode: Command, run
Use: A=RND
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 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 83 84

Komentarze do niniejszej Instrukcji

Brak uwag