Jump to content

Champions_2002's Photo

Champions_2002

Member Since 6 Jan 2003
OFFLINE Last Active Oct 5 2011 9:05 AM

Topics I've Started

APLA

Thu Jun 16, 2011 11:21 AM

I am reading Atari 130XE Machine Language for the Absolute Beginner, and it says use their Assemble to use the book.

in Chapter 11 there is a Assembler, but on line 1060 there are some unusual characters, i have look at the atari characters, but can not find it,

i was wondering if anybody could look at and tell what the characters are

Noob in basic

Tue May 17, 2011 10:05 AM

I am trying to teach myself Atari Basic, i can do the basic's print to screen use read and so on, i have a problem, i want to make a league table (Football/Soccer) i have put the teams in a data line (only 4) and i have printed them on screen at the top, i want to use another data line to pick which team play the other.

Here is my code so far
1 REM SMALL FIXTURE LIST
2 GRAPHICS 0
3 DIM T$(20),F(24):PLD=0:W=0:L=0:F=0:A=0:PTS=0
4 POSITION 15,2:PRINT "PLD  W  D  L  F  A  PTS"
5 FOR B=1 TO 4
6 READ T$
7 POSITION 1,B+3:PRINT T$
8 NEXT B
9 FOR B=1 TO 4
10 POSITION 16,B+3:PRINT PLD:POSITION 20,B+3:PRINT W:POSITION 23,B+3:PRINT D:POSITION 26,B+3:PRINT L
11 POSITION 29,B+3:PRINT F:POSITION 32,B+3:PRINT A:POSITION 36,B+3:PRINT PTS
12 NEXT B
20 RESTORE 101
21 FOR B=1 TO 24
22 READ F
23 NEXT B
24 POSITION 1,10:PRINT T$(4)
100 DATA TEAM 1,TEAM 2,TEAM 3,TEAM 4
101 DATA 1,2,4,3,3,1,2,4,4,1,2,3,3,2,1,4,1,3,4,2,2,1,3,4

LINE 101 Is what team plays so the first two games are 1v2 and 4,3, what i want is basic to read line 101 and then get the right number and then pick the team that corresponds with the number and print to the bottom of the screen and so forth until all games are shown, but only show the first 6 at home and 6 away

Can somebody help me do this