Action Programming Language

Action! Programming Language was a programming language created by Optimized Systems Software for the Atari 8-bit family of microcomputers. Its syntax was similar to that of C, and it was well-known for its speed.

Example code

The following is example code for Sieve of Eratosthenes written in Action:
  BYTE RTCLOK=20, ; addr of sys timer       SDMCTL=559 ; DMA control    BYTE ARRAY FLAGS(8190)    CARD COUNT,I,K,PRIME,TIME    PROC SIEVE()      SDMCTL=0 ; shut off Antic    RTCLOK=0 ; only one timer needed      COUNT=0         ; init count    FOR I=0 TO 8190 ; and flags      DO      FLAGS(I)='T      OD      FOR I=0 TO 8190 ; and flags      DO      IF FLAGS(I)='T THEN        PRIME=I+I+3        K=I+PRIME        WHILE K<=8190          DO          FLAGS(K)='F          K==+PRIME          OD        COUNT==+1      FI      OD    TIME=RTCLOK ; get timer reading    SDMCTL=34   ; restore screen      PRINTF("%E %U PRIMES IN",COUNT)    PRINTF("%E %U JIFFIES",TIME)  RETURN 

External links

 

<< PreviousWord BrowserNext >>
anthem of uzbek ssr
villana
puijo tower
vanderbilt cup
w.i.t.c.h.
george washington vanderbilt iii
john ralston
koupla
vigil honor
4
congo civil war
tichit
printemps de bourges
tidjikja
enumerative
ashanti (album)
haroun and the sea of stories
ouadane
1977 in rail transport
chinguetti
ceti
christian kruse
keaton tyndall
first congo war
kylie tyndall
atar, mauritania
khersons'ka oblast'
adrar plateau
technology readiness level
neurotmesis
axonotmesis
neurapraxia
rail transport in italy
therese pichler
retiary
surviving christmas
zourat
1871 in rail transport
kadi
staminode
undersuit
maria balkenhol
alan ameche
boutilimit