Attila writes:
>
> Hi!
> The easiest way is to use Lua's os.getenv() function,
> for example local path = os.getenv("PATH") or what you need.
> Regards: Attila
>
Thanks. True. I like to use inbuilt Lua functions if they're there.
I'd forgotten about this one till after I first posted.
(I'm se
lostgallifreyan writes:
> Is there a way to get OS environment variables, other than to redirect the ou
> tput of command SET to file, then parse the file to get them? And if so, is t
> here a way that is as widely compatible with other platforms as wxLua is?
>
Never mind, there is in Lua itse
Hi!
The easiest way is to use Lua's os.getenv() function, for example local path =
os.getenv("PATH") or what you need.
Regards: Attila
--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering We
On Fri, Mar 20, 2009 at 6:21 PM, lostgallifreyan
wrote:
> Is there a way to get OS environment variables, other than to redirect the
> output of command SET to file, then parse the file to get them? And if so, is
> there a way that is as widely compatible with other platforms as wxLua is?
>
Use
Is there a way to get OS environment variables, other than to redirect the
output of command SET to file, then parse the file to get them? And if so, is
there a way that is as widely compatible with other platforms as wxLua is?
---