Environment variables: Difference between revisions

Content added Content deleted
(Lingo added)
Line 486: Line 486:
{{libheader|Shell Xtra}}
{{libheader|Shell Xtra}}
<lang lingo>sx = xtra("Shell").new()
<lang lingo>sx = xtra("Shell").new()
if the platform contains win then
if the platform contains "win" then
path = sx.shell_cmd("echo %PATH%").line[1]
path = sx.shell_cmd("echo %PATH%").line[1]
else
else