How do i draw graphics on the screen using BASIC (Development MSX Fora)MSX Resource Center PassionMSX MSX2 contest           
            
English Nederlands Español Português Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 140 gasten en 3 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Development - How do i draw graphics on the screen using BASIC

Schrijver

How do i draw graphics on the screen using BASIC

------
msx novice
Berichten: 18
Geplaatst: 09 Augustus 2003, 16:25   
I tried PSET and LINE in all 9 screen modes but each time i try it it responds with Illegal Function Call
snout

msx legend
Berichten: 4991
Geplaatst: 09 Augustus 2003, 16:28   
Try

10 SCREEN 5
20 COLOR 15,0,0
30 LINE (0,0)-(100,100),15
40 GOTO 40

and then

RUN

(wow )

syntax:

LINE(X-start, Y-start)-(X-end, Y-end),color

I didn't even test it but this should work.


just typing

SCREEN 5
LINE ..
etc
won't work, because BASIC returns to SCREEN 0 everytime this way. SO, you'll have to create a listing and RUN it. (Somehow I have the feeling this is the mistake you made)
 
 







(c) 1994 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Licensing Corporation.