assignin

Assignin value to a variable in a specified variables scope.

Syntax

  • assignin(scope, variable_name, variable_value)

Input argument

  • scope - a string: 'global', 'base', 'caller', 'local'.

  • variable_name - a string: the name of variable destination.

  • variable_value - a variable to assign.

Description

assignin assign value to a variable in a specified variables scope.

Example

assignin('base', 'X', 33);
Y = acquirevar('base', 'X');

See also

assignin, who.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated