[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HTAB won't work!! My strings aren't printing right!! My program isn't working!!!
- Subject: HTAB won't work!! My strings aren't printing right!! My program isn't working!!!
- From: jonINTERNETrelayCHAT@napaVALLEYnet.CLARInet (Jon Bettencourt)
- Date: 2000/02/26
- Newsgroups: comp.sys.apple2, comp.emulators.apple2
- Organization: ABS(power) corrupts ABS(ly) & Auld Lang SIN(), ?DIVISION BY ZERO ERROR, {Gammasoft Incorporated / Kreative Entertainment Services}
Is HTAB supposed to work in 80-column mode? I have a program that's
_supposed_ to put 1 to 54 tewenty-one-character-long strings onto a 3 by
18 grid on the 80-column screen, but the strings get scrambled all over
the place.
I'm trying this:
170 FOR X=1 TO N
175 H=INT((X-1)/18):V=X-(H*18):H=H*21:H=H+1
180 HTAB H:VTAB V+3:PRINT ST$(X)
185 NEXT X
N is the number of strings in the ST$ array.
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
jonrelay@napanet.net dimension18.cjb.net
"Remember, if it's not a secure web server, it's an _insecure_
web server!" -- Me
*_ Syntax Error: an error on a criminal's tax record.
| Bad Subscript: a criminal reading a book on a subway.
--- Unimplemented Trap: when a bear trap isn't set up
|' ,| properly and thus does not work.
--- Overflow: too many ice cubes. <Can't Restart>
Figure 1.1: Most Applications Crash - If Not, The Operating
System Hangs
I just upgraded to System 7.6!
Don't forget: Tammy Day on February 15th!
Please remove capital letters from my e-mail address to respond.