Environment variables: Difference between revisions
Content deleted Content added
m Add I language |
Lingo added |
||
Line 482: | Line 482: | ||
end select |
end select |
||
end function</lang> |
end function</lang> |
||
=={{header|Lingo}}== |
|||
{{libheader|Shell Xtra}} |
|||
<lang lingo>sx = xtra("Shell").new() |
|||
if the platform contains win then |
|||
path = sx.shell_cmd("echo %PATH%").line[1] |
|||
else |
|||
path = sx.shell_cmd("echo $PATH").line[1] |
|||
end if</lang> |
|||
=={{header|LSL}}== |
=={{header|LSL}}== |