I'm ripping my hair out and cannot figure it out. I apologize if this has already been answered, but I couldn't find an answer:
Problem: Freebasic 1.09 64 bit version running on Windows 10
A console application started from a CMD window that does not create another screen: How do I output to the CMD window?
I have tried the example from the Wiki:
Code: Select all
Dim a As String
Open Cons For Input As #1
Open Cons For Output As #2
Print #2,"Please write something and press ENTER"
Line Input #1,a
Print #2, "You wrote : ";a
Close
Sleep