Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Backspacing in quickwin output

jello9
Beginner
505 Views
I am trying to create a quickwin app from a console app. However, I want to continue to have most of the input and output through the console window. Previously, the program used "Z'08'" to backspace so that you could overwrite output (such as 'Y', the Y is default and can be overwritten with N). I would like to maintain that capability, however, with the quickwin app, I can't get it to backspace past the last "'". I have tried using "" in the formatting but this doesn't work either. I'm sure the answer is staring me in the face, but I can't see it. Can someone please help?
0 Kudos
2 Replies
Steven_L_Intel1
Employee
505 Views
In QuickWin, you'll have to use SETTEXTPOSITION for this.

Steve
0 Kudos
jello9
Beginner
505 Views
Thanks! I also found the GETTEXTPOSITION which will give me the current position and then I can move the cursor back to where I want it with SETTEXTPOSITION. I had seen the GETCURRENTPOSITION before but not the GETTEXTPOSITION. It worked great.

Jane
0 Kudos
Reply