espressomd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ESPResSo] RE: using external arguments in a tcl script


From: Olaf Lenz
Subject: Re: [ESPResSo] RE: using external arguments in a tcl script
Date: Mon, 03 Sep 2007 10:47:40 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Christopher,

Christopher Jesudason wrote:
> when I am in the tcl shell with prompt say tclsh> then
> I can refer to the external variables A B C  inside
> the tcl script X.tcl in the statement 
> tclsh>  X.tcl A B C  
> by referring to them from the  &argvo, &argv and &argc
> variables. But I find this is not possible in Espresso
> for some reason. Is there a workaround for this, or is
> there a special command for this feature?

I'm sorry, I do not understand the problem.
Are you referring to executing Espresso interactively, like

        Espresso

without an argument, or are you referring to starting non-interactive, like

        Espresso X.tcl A B C

In the first case, $argv is empty, in the second case, $argv contains
the strings "A" "B" and "C".
Both cases work the same in Espresso and in tclsh, at least here.
Could you specify the problem?

Olaf

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG28ortQ3riQ3oo/oRAkbDAJ9rHijirVYDAVeg3fKccJ9Sa+jPiwCgtbWq
7aYuwDmr6O5zScO6bIdQ3Xk=
=G+sC
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]