I have the following code in my macro:
REM ***** BASIC *****
Sub Main
Dim Xfac as Integer
Dim x as Integer
Dim i as Integer
X=1
Xfac=5
For i=1 to Xfac
x=x*i
Next i
Msgbox "Factorial " + Xfac + " = " + X
End Sub
I can add the variables to the watch window, but no value or type is displayed when the macro is run. Nor can I click on a variable in the watch window to change it’s value.
Is this a BUG or am I doing something incorrectly?
LO v5.1.2 on Windows 7.
Thanks for the help.