Jack...

What is your definition of "Self Modifying Code"

To me - self modifying code is this kind of crap ...

code:

break on


$x=1 $y=2
shell 'cmd /c echo $$x=$x > prog.kix'
shell 'cmd /c echo $$y=$y >> prog.kix'
shell 'cmd /c echo ?"x + y = "$$x+$$y >> prog.kix'
call "prog.kix"


exit


Are you taking issue with perlarsson's example of doing something fundamental like this...

shell 'cmd /c dir.exe *.* >list.txt'

Am I missing something here ?

Shawn.