[chuck-users] Really basic question
Philipp Blume
pgbluster at gmail.com
Thu Sep 18 18:29:30 EDT 2014
I'd like to call a .ck program from the Mac OSX Terminal command line, and
feed values to variables in the given program.
For example, here's my program 'fooprint.ck':
=begin program
<<< foo >>> ;
=end program
So on the command line I'd like to write
&> chuck fooprint.ck --foo=25
or whatever.
What do I add to the program, and/or what do I add to the command to make
this happen?
--
Philipp Blume
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20140918/bffc8439/attachment.html>
More information about the chuck-users
mailing list