Generic FunctionPackage: ideToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

default-command-line-arguments

Arguments: project

Returns a string indicating the command-line arguments that will be embedded in the resources area of the standalone executable that is generated for the specified project. This allows various command line options to be used when the user double-clicks the .exe file in the File Explorer, for example, as opposed to selecting a Start Menu item or shortcut that specifies the command-line arguments itself.

This project property is normally specified by entering it into the "Command Line Args" widget on the Advanced tab in the Project Manager dialog (or perhaps by editing the .lpr project definition file of the project). NOTE: When entering a default-command-line-arguments string into the Project Manager widget for it, do not include quote marks around the string.

Example: If the string is "+c -- +option3", then double-clicking the .exe file that you generate for the project will start up the application with the +c option to not create a console window. And calling command-line-arguments in the running standalone application will return a list that includes the string "+option3".

See Command line arguments and its subsections in startup.htm for a table of standard command-line options.


Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version