Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
95 user(s) are online (90 user(s) are browsing Forums)

Members: 2
Guests: 93

afxgroup, VooDoo, more...

Support us!

Headlines

 
  Register To Post  

how set in arexx global system variable in environments ?
Home away from home
Home away from home


See User information
Sorry for the dumb question, but how can I from ARexx script set the global system variable, so later I can just use it in the prefs:workbench for the screen title format?

I just tried simple "SetVar 1111 2222, a script runs fine, but when I do "setenv" in the shell, to see a list of vars, I didn't see anything from my script.

How can I set it globally? Thanks.

edit: basically does not matter locally, globally, the point is that I can use in prefs:workbench in the screen title "insert/Env variable".


Edited by kas1e on 2020/12/24 19:02:54
Edited by kas1e on 2020/12/24 19:30:49
Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: how set in arexx global system variable in environments ?
Just can't stay away
Just can't stay away


See User information
@kas1e

I would guess something like

myCmd = 'SetEnv varname value'
address command myCmd

You can do it in one line, of course, byut I always prefer calling commands via an ARexx var, so it's easy to insert a "say myCmd" if you need debuggung output.

Best regards,

Niels

Go to top
Re: how set in arexx global system variable in environments ?
Home away from home
Home away from home


See User information
@nbache
Yes thanks, it works!

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project