Catcheck &Catcomp

This forum is for discussion of the AmigaOS 4.x localization. This includes translation errors as well as proposals for improved translations, and other topics related to localization.

Re: Catcheck &Catcomp

Postby JosDuchIt » Sat Jan 18, 2014 8:56 pm

I solved the problem in Gui4Cli, though not in arexx
JosDuchIt
 
Posts: 286
Joined: Sun Jun 26, 2011 6:47 pm

Re: Catcheck &Catcomp

Postby nbache » Sat Jan 18, 2014 11:48 pm

@JoshDuchIt:

You really shouldn't use ENV: as a temp directory, that's what T: is for.

Also, why use a filename starting with a "."? In Unix/Linux, this is a hidden file, and some ported software or components may still carry that idea over. I'm not sure if it affects any of what you are trying, but why not eliminate any possibilities?

E.g. "notepad T:usb.log" works fine for me.

Best regards,

Niels
User avatar
nbache
Beta Tester
Beta Tester
 
Posts: 1198
Joined: Mon Dec 20, 2010 8:25 pm
Location: Copenhagen, Denmark

Re: Catcheck &Catcomp

Postby JosDuchIt » Sun Jan 19, 2014 10:10 am

@nbache,,
thanks for hints
Now why do i use env: and the dot in file names?
This is because i normally program in Gui4Cli not in arexx. It's only if i can't solve the problem in gui4Cli that i try to do it with arexx and present it in this form to forums for help

Under Gui4Cli variables starting with a dot
.Myvar are in fact environmental variables and their values can be accessed using $.Myvar
When using a CLI command that returns some value a Gui4CLi script will use
CLI ' CliCommand > env:.Myvar arguments' // and continue
IF $.Myvar = someresult // or similar.
...
This is really handy
JosDuchIt
 
Posts: 286
Joined: Sun Jun 26, 2011 6:47 pm

Re: Catcheck &Catcomp

Postby nbache » Mon Jan 20, 2014 12:14 am

Okay, understood.

So basically, you want to start Notepad on an environment variable starting with a dot?

This also works here, see the screen dump below.

Best regards,

Niels

EnvDotTest.jpg
EnvDotTest.jpg (24.38 KiB) Viewed 2556 times
User avatar
nbache
Beta Tester
Beta Tester
 
Posts: 1198
Joined: Mon Dec 20, 2010 8:25 pm
Location: Copenhagen, Denmark

Previous

Return to Localization

Who is online

Users browsing this forum: No registered users and 1 guest

cron