WintextCom Utilities > The Request Information Utility  >

New Lines Before Return

Last updated: 08/11/2008 16:56:28 GMT
Print (Alt+1) Previous (Alt+P) Beginning of ChapterNext (Alt+N)

By default, when wtreqinfo has received the required information from the user, it returns that information to the calling program without any further action.

 

You can use the "/<number>" switch to cause wtreqinfo to write a given number of new lines to the console screen before returning. This is purely a convenience, so that the calling script does not have to insert any required lines. This is especially useful if you are displaying a menu with the cursor on the last displayed line rather than below it, but it also enables you to leave a few blank lines before writing further information to the screen if required.

 

For example:

 

"/2"

 

would move the cursor down two lines before returning after the user enters their selection or text.

 

This switch can appear anywhere on the command line except when a message box or prompt is being displayed. It must be the last for a message box, and not the first for a text prompt. It would normally be the last item on the command line, but it does not matter if it occurs before displayable information parameters for a menu or text prompt.

 


Page url: http://wtcmanual.wintextware.com/index.html?wtri_new_lines_before_return.htm