You now need to program your AutoLISP function to interact with the dialog box. The stubbed-out function, gp:getDialogInput, is where this activity will take place. This function now lives in the gp-io.lsp file, which you earlier extracted from gpmain.lsp.
Developing a dialog box interface can be confusing the first few times you do it. It involves planning ahead and asking yourself such questions as: