Ask Your Question
1

How to supply command line arguments?

asked 2020-03-16 18:23:44 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-03-17 08:19:05 -0600

updated 2020-03-17 10:45:13 -0600

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-03-16 18:23:44 -0600

Seen: 1,841 times

Last updated: Mar 17