Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
PHP.GetVariable
Returns the value of the variable.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PHP | 2.9 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
Deprecated
This function was deprecated.
MBS( "PHP.GetVariable"; VariableName ) More
Parameters
Parameter | Description | Example |
---|---|---|
VariableName | the name of the variable to return | $name |
Description
Returns the value of the variable.Examples
Set and query variable:
Set Variable [ $result ; Value: MBS( "PHP.SetVariable"; "c"; 5 ) ]
Set Variable [ $result ; Value: MBS("PHP.Run"; "$c = $c + 1; echo $c;") ]
Show Custom Dialog [ "c: " & MBS( "PHP.GetVariable";… ; "Result: " & MBS("PHP.GetResultString") ]
See also
Blog Entries
This function checks for a paid license.
Created 18th August 2014, last changed 23th January 2023