• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
MrT said:
Let's just say that it almost certainly won't look like this.

Code:
[ID]	 MAIN
         LCLC  &P(5)
         LCLA  &I,&N,&X
&I       SETA  0
&N       SETA  1
&X       SETA  1
.LOOP1   ANOP
&I       SETA  &I+1
         AIF   (&I GT K'&SYSPARM.LOOP1X
         AIF   ('&SYSPARM'(&I,1) NE ',').LOOP1
&P(&X)   SETC  '&SYSPARM'(&N,&I-&N)
&N       SETA  &I+1                
&X       SETA  &X+1                
         AGO   .LOOP1              
.LOOP1X  ANOP                      
&P(&X)   SETC  '&SYSPARM'(&N,&I-&N) 
&I       SETA  0                   
.LOOP2   ANOP
&I       SETA  &I+1                
         AIF   (&I GT &X).LOOP2X   
         AIF   ('.&P(&I)' EQ '.').LOOP2
         AIF   ('.&P(&I)' EQ '.OPT').OPT
         AIF   ('.&P(&I)' EQ '.NOOPT').NOOPT
         AIF   ('.&P(&I)' EQ '.DEBUG').DEBUG
         AIF   ('.&P(&I)' EQ '.NODEBUG').NODEBUG
         AGO   .LOOP2            
.*
.OPT     ANOP
&OPT     SETB  1
         MNOTE 0,'Text to follow'
         AGO   .LOOP2
.*
.NOOPT   ANOP
&OPT     SETB  0
         MNOTE 0,'Text to follow'
         AGO   .LOOP2
.*
.DEBUG   ANOP
&DBG     SETB  1
         MNOTE 0,'Text to follow'
         AGO   .LOOP2
.*
.NODEBUG ANOP
&DBG     SETB  0
         MNOTE 0,'Text to follow'
         AGO   .LOOP2
.*
.LOOP2X  ANOP      
.EXIT    ANOP       
         MEND

:D

EEK :eek: what in the name of every language in the world and some that don't exist is THAT?!

Ayeshteni
 
*sigh*

Kids these days....


*sigh*


It's a standard and pretty basic little program in assembler -- which is what I learned waaaaaaay back when I first started playing with computers.

Actually, we had to spend a few weeks doing binary and hex coding first. Once we;d demonstrated proficiency we were allowed to use a "mid level" language like assembler. Finally, we got to pic from one of 4 "advanced" languages: BASIC, PASCAL, FORTRAN or COBAL. I went with Fortran.
 
Allow me to chime in that if the text files didn't read like standard C files anymore, I would be deeply upset.

And anyone that can read assembler should be taken out and shot. :D