MsgBox
This function is equivalent to Trace function. In Python, use print() function instead.
Prints arguments to the output window.
Syntax
MsgBox(arg1, arg2, ...)
Parameters
Parameter |
Type |
Description |
---|---|---|
arg1 |
any type |
String, number or any other valid NexScript value |
arg2 |
any type |
String, number or any other valid NexScript value |
Return
None.
Note
Converts each parameter to string and the prints the result to the output window. In Python, use print() function instead.
Examples
Python
x = 30
# print the value of x
print("x={}".format(x))
NexScript
x = 30
% print the value of x
Trace("x=", x)