Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_ERRORLINE abilities
#6
Code: (Select All)
1 On Error GoTo FAULT
2
3 Screen 0, 1: Width 80: Color 2, 0
4 KEY Off: Cls: Close
5 '------------------------------------------------------------------------------
6 DTE1: 'Send Date to COM5
7 A$ = Date$
8 Put #1, , A$
9 STATLINE$ = Date$ + " - " + Time$ + " - COM5 Date Request"
10 GoSub EVENTSAVE
11 MyErrorFlag = 1: GoSub PRINTSTAT
eleven_point_five:   MyErrorFlag = 0: 'Reset the flag if I *only* want it for this one particular line.
12 Return
13 '------------------------------------------------------------------------------
14 TME1: 'Send Time to COM5
15 A$ = Time$
16 MyErrorFlag = 2: Put #1, , A$
sixteen_point_five:   MyErrorFlag = 0: 'Reset the flag if I *only* want it for this one particular line.
17 STATLINE$ = Date$ + " - " + Time$ + " - COM5 Time Request"
18 GoSub EVENTSAVE
19 GoSub PRINTSTAT
20 Return
21 '------------------------------------------------------------------------------
22
23 FAULT:
24 If MyErrorFlag = 1 THEN Print "Unable to print Date"
twentyfour_point_five: IF MyErrorFlag = 2 THEN PRINT "Unable to PUT Data"
25 Resume
Reply


Messages In This Thread
_ERRORLINE abilities - by MichelleL - 01-24-2024, 11:55 PM
RE: _ERRORLINE abilities - by bplus - 01-25-2024, 12:16 AM
RE: _ERRORLINE abilities - by Kernelpanic - 01-25-2024, 12:21 AM
RE: _ERRORLINE abilities - by SMcNeill - 01-25-2024, 02:34 AM
RE: _ERRORLINE abilities - by MichelleL - 01-25-2024, 03:01 AM
RE: _ERRORLINE abilities - by SMcNeill - 01-25-2024, 03:43 AM
RE: _ERRORLINE abilities - by mdijkens - 01-25-2024, 02:36 PM
RE: _ERRORLINE abilities - by Kernelpanic - 01-25-2024, 04:42 PM



Users browsing this thread: 1 Guest(s)