Navigation:  Reference > InspirationPad Class > Methods >

Go

Previous pageReturn to chapter overviewNext page

Go( n: Integer)

 

Example:

'Create a new IPad table object by loading the file named sPath

ipad = CreateIPadTable( sPath)

 

'set a variable to be accessed by the IPad table.

'you only need to add a variable definition if you need to pass

'some value from a script into an IPad table.

ipad.AddDefinition "somevar", "{1d6}"

 

'run the table 4 times

ipad.Go 4

 

'loop through and get each individual results

For i = 1 To 4

       s = ipad.GetResult( i-1)

       MsgBox s

Next

 

FreeObject ipad