Nothing displayed in console when running program
Hi, I wrote a HelloWorld program :
05 GET-ANS PIC X.
DISPLAY 'HELLO WORLD'.
DISPLAY 'THIS IS THE FIRST COBOL PROGRAM'.
DISPLAY 'PRESS ENTER TO END THE PROGRAM'.
When I run the program nothing is displayed in console.
I use MS VS Shell 2010, on Win 7.
Where I am wrong ? Thx.
RE: Nothing displayed in console when running program
This sounds like you might have created the project as a Windows application which is GUI instead of a Console application which is character based.
Double-click on the project properties and look at Application tab. If Output Type is set to Windows Application change it to Console Application and try again.