beautypg.com

Avery Dennison 6037 Rev. AA 3/04 Programmer Manual User Manual

Page 99

background image

ROM-DOS Internal Commands 4-57

P R O M P T

Internal Command

The PROMPT command changes the ROM-DOS command prompt.

Syntax

PROMPT [text] [$character] [$character...]

Remarks

The prompt that ROM-DOS normally displays is the letter of the current
drive followed by a right angle bracket (>) (the greater-than symbol). By
using the PROMPT command, you can change this prompt to include any
combination of a message, the current directory, the date, the time, and
some other features.

Code Corresponding

Prompt

$T Current

time

$D Current

date

$P

Current drive and path

$V

ROM-DOS version number

$N Current

drive

$G

The > character

$L

The < character

$B

The | character

$Q

The = sign

$H

A backspace (which erases the
previous character)

$E

ASCII code for Escape (X'1B')

$_

Start a new line (carriage
return)

$$

The $ character