Hi,

On Mon, Aug 31, 2009 at 10:46 PM, Stefan Marr<[email protected]> wrote:
> I just try to get started with Pharo to experiment with some
> benchmarks and would be grateful for some basic hints, since the
> documentation on pharo-project.org is not to excessive.


I agree. Please help, we need you


> As far as I read in the documentation of the language shootout[1], I
> will need the OSProcess package.
>
> How can I load this package into the image downloaded from p-p.org?

ScriptLoader loadLatestPackage: 'OSProcess' from:
'http://www.squeaksource.com/OSProcess'


> My second problem is to execute code from the command line.
> I tried a simple example file
> $ cat test.sq
> Transcript open; cr; show: 'Hello, world'.


By convention, Smalltalk scripts extension is '.st' and not '.sq'. But
that shouldn't change anything.


> $ Squeak\ 4.2.1beta1U.app/Contents/MacOS/Squeak\ VM\ Opt 
> pharo1.0-10418-BETAdev09.08.3.image test.sq


You have to pass the full path to the script file. Try something like:

$ Squeak\ 4.2.1beta1U.app/Contents/MacOS/Squeak\ VM\ Opt
pharo1.0-10418-BETAdev09.08.3.image $PWD/test.sq


-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to