← Softalk — July 1981

Softalk — July 1981

From the originals

13 scans

Machine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.

These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.

PDF page 12

10 1cell equipp ed. ( See Mark etalk R e r ie uw.) In c id e11tally, " Do you sp eak H e brew . ·· see ms a r easona,ble idiomatic tra11 .~ latio11 , ju~ t as On parle francals ("'on e sp eaks F rench") and Se habla es panol ("Spanish speaks its elf") are prop er ly tak en to rnean " F renc h spoken here" and " Spanish spok en here." Minot To Reason Why ... I teach computer programming to high school juniors and seniors here in Minot. We have twelve Apple II Plus units with disk drives and language systems. Our semester course is based on Pascal, touching on Fortran the last four weeks . fl· SO~IAL~ Our advanced class works with Pascal, Fortran, Pilot, and machine language . I have enclosed copies of two pro grams that show how to use special out put features In Pascal. I hope you can use these hints. The first program defines a character variable T as a blank. It would also have been declared as a constant. This makes the T;lO is the Writeln similar in ap· pearance to the T F:ormat control in For· tran . The variable LF is assigned the line feed character. I get tired of seeing students' programs, programs in periodi cals, and books cluttered with Writelns. Some of them have twenty in a row. Do you like thinking games? Do you like fast-action spectator sports? Want to have fun learning more about computers and programming? Think you can program better than your friends? ~you answered YES to any of these questions. RobotWor is for you, A game of the future you can play today , , , Create a robot by writing a special Battle Language program,This program g ives your robot its unique fighting perscna li ty Debug your robot on the Test Bench. a cybernetic window into your Robot"s mind, Is it really checking its damage level to consider evasive action? Does it increment its radar and lasorcannon aim while search ing for enemies? If all checks out. it"sonto ,, , The Battlefield , , , Challenge up to fou r competitors from the Robot Ready Room on your di sk, Your robot will meet them in the arena where you ha ve a bird"seye view of the mechanical carnage, Robots scurry about. radars flash. lasor shots fly and explode ,,, and only one sur vives, You're the witness to a futuristic Glad iator spectacle, Ava ilable on d isk for the Apple computer with 48K and Applesctt ROM at computer stores everywhere, from the leader in quality software ~~- s______. o ~ w.~ R E '" ---------------------- ..... • ~ [_.. • .,.,.,. f"'l'~ I i.t t • 1 330 N, CHARLES STREET tf[_., 't • ,•v~t;c;r-...o-elnC ._______________BALTIMORE (301)659-7212 . MD 21201 JULY 1981 Using the LF variable is similar to the / Format control in Fortran. The VT variable tabs straight down the screen in the middle of a Writeln. I would normally use a name like MC in· stead of Movecursor in my own pro· grams. This function can easily be added to the System.Library. PROGRAM DEMO: VAR VT,LF,T:CHAR; PR : INTERACTIVE; BEGIN RESET (PR,'PRINTER:'); VT := CHR( lO}; LF := CHR( 13); T := ''; WRITELN (' LINE ONE',T: 1O,'TAB DEMO' LF ,'LINEFEED DEMO', VT,'VERTICAL TAB DEMO'); END. PROGRAM DEMO: VAR VT,HT: INTEGER; FUNCTION MOVECURSOR(X,Y:INTEGER): CHAR; BEGIN GOTOXY(X,Y}; MOVECURSOR : = ''; END; BEGIN HT : = 20; VT : = 20; PAGE(OUTPUT); GOTOXY( 10, 1O); WRITELN ('HERE WE ARE',MOVECURSOR (HT,VT),'NOW HERE WE ARE'); END . PROGRAM DEMO; BEGIN WRITELN('THIS IS A BUNCH OF'); WRITELN('WRITELN STA TEMENTS '); WRITELN('USED TO WRITE ON THE'); WRITELN('SCREEN'); END . PROGRAM DEMO; VAR LF:CHAR : BEGIN LF : = CHR( 13); WRITELN('THIS IS A BUNCH OF', LF, 'WRITELN STATEMENTS', LF,'USED TO WRITE ON THE', LF, 'SC REEN'); END . Could you tell me why the T Format control was left out of the Apple For tran? Craig Nansen, Magic City Campus, Minot High School, Minot, ND Adventuresome Youth I am a fifteen year old who's in the pro· cess of learning machine language and dabbling in Pascal. I have known Apple· soft and Basic for quite a while now and enjoy programming very much . I am also a software nut ; I especially like ad· ventures, and your magazine has helped me greatly. This leads up to my prob· !em. I have played almost every adven· ture on the market today, from Zor k and Adventure to P risoner and Mystery House, and not one has kept me busy for more than four days. So please, if you or your readers have information on new, hard!! adventures, please let me know. Thank you. Gary Auerbach, Hartsdale, NY J•

Reading notes: Hyphenation and OCR errors in body text (e.g., 'perscna li ty', 'lasor'), uncertain reading order across columns and advertisement blocks. Advertisement text interleaved with letter text; column order uncertain.

Printed product names
Apple II Plus · RobotWor · Apple
Printed dates
JULY 1981
Languages
English