Open Object REXX (oorexx) has become my favored scripting language for system administration type operations. Since it is so powerful and useful, would it be possible to make it a portable application (for use on a flash drive or usb powered usb drive)?
Need. Link.
----
R McCue
"If you're not part of the solution, you're part of the precipitate."
http://www.oorexx.org/
________
[ ~Lurk~ ]
¯¯¯¯¯¯¯¯
All about Instant Messaging -->BigBlueBall
~Lurk~
The link for oorexx is http://www.oorexx.org/
I see that someone already provided it to you. My apologies. REXX has been around so long and Object REXX from IBM being a premium product, that I (without thought) assumed that, when IBM let Object REXX become an open source product (Open Object REXX) guided by the Rexx Language Association http://www.rexxla.org/, everyone in the computer/scripting world knew about ooRexx. I will not make the mistake again.
Just happened to be on my PSP at the time which is a bother to type with so couldn't Google it.
Try the QuickPort NSIS Template or UniLaunch.
Check the program with RegMon and FileMon.
Get back to us.
----
R McCue
"If you're not part of the solution, you're part of the precipitate."
Project Specification
• Using Gentee program, create a
“TRANSLATOR” that will translate the four
words (or tokens) that is saved in a text file to
the German and Spanish dialect.
• The text file, lets say “SOURCE.TXT” contains
the following words:
1. House
2. Rat
3. Heart
4. Cockroach
Can anyone Can Do this program? pls.. im new in Rexx.. that's why i need help..
tnx.
First of all, what does it have to do with PortableApps? You should probably post this somewhere else. Second, if this is a school project, shouldn't you learn the programming language and do it yourself? Third, what does this have to do with REXX - the specification says use Gentee.
Anyway, here's how I'd do it in REXX:
/* */
parse arg token_file
english_tokens = ''
do while lines(token_file)
english_tokens = english_tokens linein(token_file)
end
do i = 1 to words(english_tokens)
english_token = translate(word(english_tokens, i))
select
when english_token = 'HOUSE' then do
say 'English: house'
say 'German: ein house'
say 'Spanish: la casa'
end
when english_token = 'RAT' then do
say 'English: rat'
say 'German: ein rat'
say 'Spanish: el rat'
end
when english_token = 'HEART' then do
say 'English: heart'
say 'German: ein heart'
say 'Spanish: el heart'
end
when english_token = 'COCKROACH' then do
say 'English: cockroach'
say 'German: ein cockroach'
say 'Spanish: la cucaracha'
end
otherwise do
say 'Unknown English token ignored:' english_token
end
end
say
end
exit
This program doesn't make any assumptions about:
- what order the tokens are in
- whether tokens are in lower case, mixed case or upper case
- whether the tokens are on one line, one token per line or something in between
and it ignores any tokens it doesn't know about
I'm sure there's more elegant ways to do this, but this seems like what you'd be looking for...
tnx for the info sir!!
I did what I've seen suggested here before, install the program and copy the ooRexx directory as created by the install. It seems to work fine for my simple purposes. One obvious thing you have to take care of yourself is getting REXX.EXE in the path.