- Jan
- 8
- 0
I have this batch file I wrote to test whether I am online, and if the connection is any good. I've been using it for years, and it's evolved over the years to be a little more elaborate than the central "ping" commands that I use to give me the result. The problem is when I am trying to print a table of the network items, lines 65 & 66 it give me errors.
C:\btm\google2.btm [65] Usage : SCRPUT [/C /U] row col [BRIght] fg ON [BRIght] bg text ─
C:\btm\google2.btm [66] Usage : SCRPUT [/C /U] row col [BRIght] fg ON [BRIght] bg text
The strange thing is when you look at the various scrput statements, they are all the same as far as I can see (excepting location, color and variables printed). I try to line them up so I can keep an eye on that. If I comment those lines out, the remainder prints out fine. Is it something funky in the gosub-ing, or...? I've written scripts using gosub like this before. See attached file
[C:\Download]ver
TCC 25.00.30 x64 Windows 10 [Version 10.0.22000.1219].
It's actually Windows 11 Pro that I installed clean. Don't know why it says Win 10.
Thanks
C:\btm\google2.btm [65] Usage : SCRPUT [/C /U] row col [BRIght] fg ON [BRIght] bg text ─
C:\btm\google2.btm [66] Usage : SCRPUT [/C /U] row col [BRIght] fg ON [BRIght] bg text
The strange thing is when you look at the various scrput statements, they are all the same as far as I can see (excepting location, color and variables printed). I try to line them up so I can keep an eye on that. If I comment those lines out, the remainder prints out fine. Is it something funky in the gosub-ing, or...? I've written scripts using gosub like this before. See attached file
[C:\Download]ver
TCC 25.00.30 x64 Windows 10 [Version 10.0.22000.1219].
It's actually Windows 11 Pro that I installed clean. Don't know why it says Win 10.
Thanks