|
Contents | Previous | Next | Subchapters |
| Syntax |
status = OMServer.Eval(command) |
| See Also | comopen |
1
if this function succeeded.
Public OM As New OMServer
Sub Main()
Dim status As Integer
status = OM.Open
If status <> 1 Then
MsgBox ("Unable to establish connection to O-Matrix")
End If
status = OM.Eval("s =seq(3)^2")
If status = 1 Then
status = OM.Eval("gplot(s)")
End If
If status <> 1 Then
MsgBox ("Unable to execute O-Matrix command")
End If
End Sub
Run the project and O-Matrix will display a line plot of the exponential sequence s