Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- BHELP On-Line: CBRIEF Macro Help - get_parm ([parm_no], variable, [prompt], [length], [default]) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
get_parm ([parm_no], variable, [prompt], [length], [default])

     Usage: Get an argument sent to the macro. This can also be used
            as a general purpose "prompt for value" by calling it with
            parm_no equal to NULL.

Parameters: Parm_no .int. is the parameter number, (0 based).
            Variable .int or string. will be filled with the value.
            Prompt .string. is used to prompt user for unspecified
            parameters. If there is no prompt (or if it is NULL), the
            user is not prompted.  Length .int. is the max length
            string to get (only for strings, of course, and only if
            the user is prompted).  Default (same type as variable) is
            the default value to use, and is shown on the command line
            if the user is prompted.  NOTE:  Length is only used if
            the parameter type is string. Therefore, default is fourth
            for ints, and fifth for strings.

   Returns: Greater than 0 for success, 0 for failure.

See Also: put_parm

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson