First time here? Check out the FAQ!
1

How to supply command line arguments?

How can a wing user run a program that requires arguments? Thanks.

updated 2020-03-16 18:23:44 -0500
This post is a wiki. Anyone with karma >75 is welcome to improve it.
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

These are set in the file's properties or by defining a Named Entry Point.

For the file properties, right-click on the file or the file name in the Project tool and select Properties. This dialog is also shown by default when you start debug, unless you've disabled it.

Named Entry Points would be used if you want to define different environment or arguments for the same file; they are accessed from the Debug > Named Entry Points menu item.

The relevant docs pages are:

https://wingware.com/doc/proj/file-pr...

https://wingware.com/doc/debug/named-...

Also note that if you have a particular file set as the main entry point in a project, for example with the Debug > Set Current as Main Entry Point menu item, then the Debug > Debug Environment menu item also brings up the file properties dialog for the main entry point file.

Wingware Support's avatar
4.1k
Wingware Support
answered 2020-03-17 08:19:05 -0500, updated 2020-03-17 10:45:13 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer