Find More Code

About twenty lines further into the program, find the following code:

result = Setup(“Potentiostatic EIS”,

& PstatSelect.Selector(selector_asterisk),

& Title,

& Output,

& Notes,

& FreqInit,

& FreqFinal,

& PointDensity,

& ACAmpl,

& DCAmpl,

& Area,

& Density,

& Equiv,

& Condit,

& Delay,

& ZGuess

& Fast)

if (result eq FALSE) ; Cancel

return

This code calls a complex Framework library function named Setup(). Setup() creates the Setup dialog box and handles user-entry of parameters. Setup() returns a value that is FALSE if you exit the dialog box with the Cancel button rather than the OK button.

Continue the tutorial.