How to pass args to Ruby script under SciTE?

Hi,

I want to pass args to a Ruby script being tested under SciTE. The View
menu has a Parameters item, but that doesn’t seem to be related to
arguments for the Ruby program under test.

Is there a way to do this?

TIA,
Richard

···

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.659 / Virus Database: 423 - Release Date: 4/16/2004

Richard Lionheart wrote:

Is there a way to do this?
Did you look into lua ?

kaspar - code philosopher

  • – stolen off the net –
    Today at work an ethernet switch decided to take the ‘N’ out of NVRAM
    – Richard Letts

Hi Kasper,

Thanks for your reply. I never heard of “lua” but found a website for it,
but I don’t see what relevance it has to my problem. If it is, could you
be more explicit?

I’m using the Scintilla Text Editor for writing an testing Ruby scripts.
I’m currently writing one that should accept a single argument when it is
run. How can I put such an argument in SciTE’s environment so that when the
scripts references ARGV[0], the first argument is returned from the
environment?

Any other ideas?

Regards,
Richard

“Kaspar Schiess” eule@space.ch wrote in message
news:4085AED5.2080902@space.ch…

···

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

Richard Lionheart wrote:

Is there a way to do this?
Did you look into lua ?

kaspar - code philosopher

  • – stolen off the net –
    Today at work an ethernet switch decided to take the ‘N’ out of NVRAM
    – Richard Letts
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (MingW32)
    Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAha7VFifl4CA0ImQRAsA1AJ9P9fv1pmg4nnfjtwq92aVVAiMqzwCfSzQE
asqwHLc/Hfu+iIjW/4yfo+Q=
=fwOg
-----END PGP SIGNATURE-----


Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.659 / Virus Database: 423 - Release Date: 4/15/2004