Arc Forumnew | comments | leaders | submitlogin
When I type 'mzscheme -m -f as.scm'
2 points by lixianyu 4401 days ago | 3 comments
When I type 'mzscheme -m -f as.scm' , the following will happen : main: not defined or required into the top-level environment.


2 points by zck 4401 days ago | link

If you're using Arc 3.1 with a recent version of Racket (I can verify it works with Racket 5.3.1, but it should work with anything newer than that also), you just call it via `racket -f as.scm`. Arc 3.1 can be found here: http://ycombinator.com/arc/arc3.1.tar . Check out the unofficial Arc wiki for more information: https://sites.google.com/site/arclanguagewiki/

-----

1 point by akkartik 4401 days ago | link

Yeah, I think the '-m' flag was deleted sometime after v372.

-----

3 points by rocketnia 4400 days ago | link

Here's a comment I made in an earlier thread (http://www.arclanguage.org/item?id=14747):

The -m option means to call the "main" function now. Just leave it out. It used to mean "--mute-banner", which suppressed the "Welcome to MzScheme" line.

-----