DemonSeed's Weekly Dumb Question (tm) (Development MSX Fora)MSX Resource Center MSX 25th Anniversary Event           
            
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 166 gasten en 3 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Development - DemonSeed's Weekly Dumb Question (tm)

Ga naar pagina ( Vorige pagina 1 | 2 )
Schrijver

DemonSeed's Weekly Dumb Question (tm)

AuroraMSX

msx master
Berichten: 1214
Geplaatst: 30 April 2008, 11:28   
Yup, that should do the trick, although I would put braces around the I+1, just for clarity (and I like to use brackets for array indices rather than normal braces )
FORI=2TO8:T=SGN(5-I):AX[I]=T:AY[((I+1)AND7)+1]=T:NEXT
[edit: tested on MSX and found to be OK ]
 
Ga naar pagina ( Vorige pagina 1 | 2 )
 







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