I copied the below script from the manual and saved it as C:\ENTER_NUM_SCRIPT.BAS If I RUN it in the Basic Script Editor it works as expected.
Sub Main Dim Msg, X, Y X = InputBox("Enter a Number:") Y = Abs(X) Msg = "The number you entered is " & X Msg = Msg + ". The Absolute value of " & X & " is " & Y MsgBox Msg 'Display Message. End Sub
CS1 =SCRIPT/FILENAME= C:\ENTER_NUM_SCRIPT.BAS FUNCTION/Main,SHOW=YES,, STARTSCRIPT/ COMMENT/REPT," I GOT HERE PASSED THE SCRIPT"
...really confused here