www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Commandline args to rdmd --eval=...

Hello, all.
Is it possible to pass cli args to rdmd eval-program?

F.e. if I try:

rdmd --eval="args.writeln" -- 123

then: Cannot have both --eval and a program file ('123')

In perl it's possible:

perl -e'print join ",",  ARGV' 123 234

# 123,234
Jul 20