14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 11 Display Trees 367<br />

Constructing Display Trees<br />

The section “Modal Windows” on page 372 shows an example to collect coefficients from the user using a<br />

modal dialog box.<br />

This section further develops the example into a complete customized platform that first puts up a dialog<br />

box to ask for coefficients, finds the roots, and then displays the results along with a graph in a custom<br />

window.<br />

//First, open a window to collect coefficients from the user:<br />

myCoeffs = New Window( "Find the roots for the equation",<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!