Measurement-computing Micro 488/EX rev.2.1 Bedienungsanleitung Seite 88

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 218
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 87
Section 5 Command Descriptions
5.18
COMMENT
The
COMMENT
command is provided to allow the user to place comment lines in
a Macro buffer. The
COMMENT
string is enclosed in either apostrophes (') or quotation
marks ("). When the Macro is executed, the
COMMENT
string is sent to the serial host,
or if
LOG
ON
is in effect it is sent to the
LOG
Buffer, appended with the serial output
terminators. The serial output terminators may be suppressed by including a back-slash
[\] as the last character of the
COMMENT
string.
SYNTAX
COMMENT
[;]
'data'
or
COM
[;]
'data'
'data'
is an ASCII string delimited by apostrophes or quotation
marks.
RESPONSE
data
is returned to the serial host
MODE Any
BUS STATES None
EXAMPLES PRINT #1,"COMMENT 'This is a test comment'"
INPUT #1, C$
Read the comment string
PRINT C$
Print it to the screen
This is a test comment
PRINT #1,"COMMENT 'Available Memory = \'"
PRINT #1,"MEMORY"
INPUT #1, C$
Read the comment string with suppressed
serial output terminators and appended
memory value
PRINT C$
Print it to the screen
Available Memory = 29782
Seitenansicht 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 217 218

Kommentare zu diesen Handbüchern

Keine Kommentare