#include <kernwin.hpp>
// The text before the first \n is the title, followed by the first input field
// (as indicated by the <>) and then a second input field. The format of input
// fields is:
//
// <label:field type:maximum chars:field length:help identifier>
//
// The results are stored in result1 and result1 respectively.
// For more information on input fields, see the AskUsingForm_c section of kernwin.hpp
char form[] = "My Title\n<Please enter some text here:A:20:30::>\n<And here:A:20:30::>\n";
char result1[MAXSTR] = "";
char result2[MAXSTR] = "";
AskUsingForm_c(form, result1, result2);
msg("User entered text: %s and %s\n", result1, result2);