Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Adds an entry for environment variables.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Shell | 7.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
Parameter | Description | Example |
---|---|---|
ShellRef | The reference number from the shell. | $shell |
Name | The name of the variable. | "PATH" |
Value | The value of the environment variable. | "C:\test" |
Returns OK or error.
Try environment functions:
Set Variable [ $shell ; Value: MBS( "Shell.New" ) ]
# set
Set Variable [ $s ; Value: MBS( "Shell.AddEnvironment"; $shell; "test"; "Hello") ]
# and query
Show Custom Dialog [ "Environment" ; MBS( "Shell.GetEnvironment"; $shell) ]
Set Variable [ $r ; Value: MBS("Shell.Release"; $shell) ]
Created 11st November 2017, last changed 24th February 2018
Shell.AddArgument - Shell.AvailableBytesError
Feedback: Report problem or ask question.