Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

If Bill Gates is the Devil then Linus Torvalds must be the Messiah. -- Unknown source


computers / comp.sys.tandy / Re: PRINT #1 TAB(A); ???

Re: PRINT #1 TAB(A); ???

<_ficncV6Vsea57f-nZ2dnZfqnPti4p2d@supernews.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=46&group=comp.sys.tandy#46

  copy link   Newsgroups: comp.sys.tandy
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 21 Sep 2022 02:42:14 +0000
User-Agent: NewsTap/5.5 (iPad)
Cancel-Lock: sha1:O309nFECNS/s0WOhB/SdHgufosY=
Newsgroups: comp.sys.tandy
Subject: Re: PRINT #1 TAB(A); ???
Content-Type: text/plain; charset=UTF-8
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
From: nunya@none.none (Bob Campbell)
References: <cb8b9797-48ce-4242-ae95-72850e4bddban@googlegroups.com>
<ReOdnXB3x6Vj6rX-nZ2dnZfqn_Vj4p2d@supernews.com>
<487d4e3a-113f-48a6-97ed-39d329f73fc6n@googlegroups.com>
<josemnFti0jU1@mid.individual.net>
<tgidnfk3s7ZzlLT-nZ2dnZfqnPVi4p2d@supernews.com>
<c5b1b19a-a70e-4e0c-a736-ed39661d25f5n@googlegroups.com>
<cdScnZLp--IR5Lf-nZ2dnZfqnPti4p2d@supernews.com>
Message-ID: <_ficncV6Vsea57f-nZ2dnZfqnPti4p2d@supernews.com>
Date: Wed, 21 Sep 2022 02:42:15 +0000
Lines: 77
X-Trace: sv3-M8cXRdCJANKxeT0RIXpplMilQD2e9jimHbbHil6obv3mVYaDpg8hCH1M7b/0G4nlblcLi8Irwqhe3r7!8fimMrr1SwR670f58kZCD469zZtmOihAiIiSshpou4XNWqTlNazOnFN2pssDmKNlyPdLXdRXr9i9!eu/rHwchNA==
X-Complaints-To: www.supernews.com/docs/abuse.html
X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Bob Campbell - Wed, 21 Sep 2022 02:42 UTC

Bob Campbell <nunya@none.none> wrote:
> Walt Perko <r4rguy@gmail.com> wrote:
>> On Monday, September 19, 2022 at 5:31:47 PM UTC-7, Bob Campbell wrote:
>>
>>> Ah yes. Lines 150 and 180.
>>
>>
>> Okay, I fixed line 150 and 180 ... but now the program just prints stars
>> across the screen row after row ???
>>
>> e.g.,
>> ********************************************************************************
>> ********************************************************************************
>> ********************************************************************************
>>
>> I'm sending the output to the serial port which is connected to a
>> VersaTerm VT-100 emulator that connects to a VGA/LCD monitor.
>>
>> When I run the program on my Altair-Duino Pro, on a VersaTerm, or ASCII
>> Terminal or even in TeraTerm on my PC I see a sine wave.
>>
>>
>> 10 OPEN "COM:88NE1" FOR OUTPUT AS 1
>> 20 INPUT "Pause Time";P
>> 40 REM arkable Program by David Ahl and modified by WKP SINEWKP.BAS
>> 50 B=0
>> 100 REM START LONG LOOP
>> 110 FOR T=0 TO 80 STEP .25
>> 120 A=INT(26+25*SIN(T))
>> 130 PRINT #1, TAB(A);
>> 140 IF B=1 THEN 180
>> 145 FOR PAUSE = 0 TO P:NEXT PAUSE
>> 150 PRINT #1, " *";
>> 160 B=1
>> 170 GOTO 200
>> 180 PRINT #1, " *";
>> 190 B=0
>> 200 IF INKEY$<>"" THEN GOTO 999
>> 250 NEXT T
>> 998 GOTO 50
>> 999 END
>
> This will not work with PRINT #1 going out the serial port. OPEN FOR
> OUTPUT AS 1 means you are creating a text file. There is no cursor to
> position.
>
> All you can send is plain text. PRINT TAB (A) is for positioning the
> cursor on the screen. There is no cursor to position in a text file.
>
> The best you can do is just PRINT #1 formatted lines of text. Like this:
>
> * *
> * *
> * *
> * *
> * *
> * *
> * *
> * *
> * *
> * *
>
> And on and on. To print any pattern you want. Not very elegant, but that
> is how all “graphics” were printed out way back when, on computers that had
> no graphics capabilities.
>
> The program you are using is designed to run on a screen. Not to create a
> text file.
>

Yeah, I knew the above would not come out correctly. It was a large V
originally.

But you still get the idea.

SubjectRepliesAuthor
o PRINT #1 TAB(A); ???

By: Walt Perko on Mon, 19 Sep 2022

11Walt Perko
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor