Rockwell-automation 2708-NBD VBASIC Language Development Kit Bedienungsanleitung Seite 46

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 84
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 45
Chapter 5
A-B VBASIC Application Library
59
Status Display
The application status display (one of the special status displays described in
the Attended Workstation Users Manual) is not accessible through any
subroutines in ENV, and is not emulated in ENVPC. Use a section of code
which is conditional on the value of PcMode to set the status display.
Printing Reports and Forms
Since PRINT # USING.. is not supported, we recommend that you format
reports by first printing the report to a scratch file, then copying the file to
the device. Example:
listfile$ = SCRATCH
OPEN listfile$ FOR OUTPUT AS #1
PRINT #1, USING . . . . . . .
. . .
build your report, form, or complex response here
. . .
PRINT #1, USING . . . . . . .
CLOSE #1
OPEN listfile$ FOR INPUT AS #1
DO WHILE NOT EOF(1)
LINE INPUT #1, s$
SendQue s$ This could be SendQue, Send, or SendCom
LOOP
CLOSE #1
KILL listfile$
Using the ENVPC Simulator
(contd)
Seitenansicht 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 83 84

Kommentare zu diesen Handbüchern

Keine Kommentare