WesRey (4) [Avatar] Offline
#1
The line that begins "double x" is missing a semicolon at the end.

scope.SetVariable("num", 20)
double x = scope.GetVariable<double>("num")
double y = (double) scope.GetVariable("num");