RDOT
BASIC keyword | |
Keyword: | RDOT |
Abbreviation: | R Shift+D |
Type: | Command |
Token code: | $d0 (208) |
Handling routine in BASIC ROM: |
|
List of all BASIC keywords |
Remark: This article describes the BASIC function RDOT in in Commodore BASIC V3.5 or higher.
Type: String Function General Programming-Syntax: RDOT(<numeric-expression>)
RDOT(N) RDOT is a function to get information about the pixel cursor (PC) or about the color. Valid values for n are:
- 0: X-position of the graphical cursor, possible return values from -32768 to +32767
- 1: Y-position of the graphical cursor, possible return values from -32768 to +32767
- 2: Color source at the position of the graphic cursor. The possible return values depend on the graphics mode (see COLOR).
Other values for n cause an '"ILLEGAL QUANTITY ERROR".
Examples[edit | edit source]
ABS | ASC | ATN | AUTO | BACKUP | BOX | CHAR | CHR$ | CIRCLE | CLOSE | CLR | CMD | COLLECT | COLOR | CONT | COPY | COS | DATA | DEC | DEF | DELETE | DIM | DIRECTORY | DLOAD | DO | DRAW | DS | DS$ | DSAVE | END | EL | ELSE | ER | ERR$ | EXIT | EXP | FN | FOR | FRE | GET | GET# | GETKEY | GOSUB | GOTO | GRAPHIC | GSHAPE | HEADER | HELP | HEX$ | IF | INPUT | INPUT# | INSTR | INT | JOY | KEY | LEFT$ | LEN | LET | LIST | LOAD | LOCATE | LOG | LOOP | MID$ | MONITOR | NEW | NEXT | ON | OPEN | PAINT | PEEK | POKE | POS | PRINT | PRINT USING | PRINT# | PUDEF | RCLR | RDOT | READ | REM | RENAME | RENUMBER | RESTORE | RESUME | RETURN | RGR | RIGHT$ | RLUM | RND | RUN | SAVE | SCALE | SCNCLR | SCRATCH | SGN | SIN | SOUND | SPC | SQR | SSHAPE | STOP | STR$ | SYS | TAB | TAN | TRAP | TROFF | TRON | UNTIL | USR | VAL | VERIFY | VOL | WHILE | WAIT