- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear All,
When debugging, if there are so many data needs to be inputted, what is the automatic way to enter those data in Console Mode?
thank you very much in advance.
Mike
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear All,
When debugging, if there are so many data needs to be inputted, what is the automatic way to enter those data in Console Mode?
thank you very much in advance.
Mike
Hi Mike,
Is there a reason that you can't set up an input file and change the unit the program reads the data from?
Rich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mike,
Is there a reason that you can't set up an input file and change the unit the program reads the data from?
Rich
Oh, the input lines are separate in many lines in many places. Also this program is a package.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One way is to put all the input data in a file and then, in the Project > Debugging property page, put this under Command Arguments:
< data.txt
where data.txt is a file in the project folder that contains the input data. The program will then read from the data file instead of the console.
Another way is to simply paste the input into the window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Another way is to simply paste the input into the window.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
But the output window is Console (DOS) window. I cannot copy/paste the input parameters into a DOS-like window.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sure you can. You can either use the console window's menu (click on the small icon in the upper left corner) or right click in the window (the paste occurs on the right click.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I usually use Ctrl-V. I should try another way.
Thank you indeed, Steve.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ctrl-V doesn't work in console windows. Don't ask me why...

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page