Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What Does a Simple SVB Program Look Like?

look program simple SVB
0
Posted

What Does a Simple SVB Program Look Like?

0

The following program illustrates various general features of the Visual Basic (VB and SVB) language in a simple program. In STATISTICA, select New from the File menu, then select the Macro tab and create a macro called Overview 1. Sub Main ‘ Bring up a Message Box, with the Ok and Cancel buttons, ‘ and with the following text; ‘ note the continuation symbol _ (underline) at the ‘ end of the first line, to allow the single statement ‘ to span two lines If MsgBox (“Hello! Click OK or Cancel”, _ vbOkCancel)=vbOK Then MsgBox “You clicked OK” Else MsgBox “You clicked Cancel” End If End Sub To run this program, press F5 or select Run Macro from the Run menu. This program will display two message boxes: the first one shows an OK button and a Cancel button, and the next one will show a message depending on which button you clicked.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.