Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Information and Control
See also: _ execfile

Function: exec
Description: Executes the given string as if it was entered in the command line.

Usage: exec(cmd)
Input:
cmd string, containing the command

Note:

Example:



a="reshape((1:4),#(2,2))"

exec(a)

Result:



Contents of reshape

[1,]        1        3 

[2,]        2        4 


Group: Information and Control
See also: _ execfile

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

(C) MD*TECH Method and Data Technologies, 21.9.2000