Environment variables: Difference between revisions

Content deleted Content added
Objeck (talk | contribs)
Objeck (talk | contribs)
Line 527:
ExpandEnvStrings $1 "%USERPROFILE%" ; Retrieve the user's profile location and place it in builtin register 1.
ExpandEnvStrings $2 "%USERNAME%" ; Retrieve the user's account name and place it in builtin register 2.</lang>
 
=={{header|Objeck}}==
<lang objeck>class Environment {
function : Main(args : String[]) ~ Nil {
path := Runtime->GetProperty("PATH");
if(path <> Nil) {
path->PrintLine();
};
}
}</lang>
 
=={{header|Objective-C}}==