[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Function:    CommandLine()

               This function will return the full Command line
               parameter exactly as the program was invoked in
               DOS (or a Menu program or batch file). This
               function offers some advantages to using the
               Parameter Command in your Main program file, the
               number of arguments needn't be fixed and you can
               easily parse out options, any file names etc.

 Syntax:      CommandLine()

 Arguments:   None.

 Returns:     A character string containing the exect Command
              line tail. beware that any leading spaces etc..
              are included!

 Usage:       if At('/H',Upper(CommandLine())) != 0
                    ShowHelp()
              end
              if At('/BW',Upper(CommandLine())) != 0
                 SetColor(c_blackwhite)
              else
                 SetColor(c_color)
              end

See Also: MyName()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson