Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 10-31-2019, 10:35 PM
comer1 comer1 is offline
Junior Member
 
Join Date: Dec 2011
Posts: 16
Default Console and special ASCII chars

Can delphi display all 255 ASCII characters in console window?

There are problematic ones like #10, #13, #07. Both WriteLn and Write treat them as control characters and do not display character itself.
Reply With Quote
  #2  
Old 11-01-2019, 01:58 PM
rojam rojam is offline
Senior Member
 
Join Date: Jun 2015
Posts: 200
Default

The computer "displays" those characters as expected #10 is Line Feed, #13 is Carriage Return, and #07 is Bell or Tone. How would you like Delphi to "display" them???
Reply With Quote
  #3  
Old 11-01-2019, 03:33 PM
comer1 comer1 is offline
Junior Member
 
Join Date: Dec 2011
Posts: 16
Default

Quote:
Originally Posted by rojam View Post
The computer "displays" those characters as expected #10 is Line Feed, #13 is Carriage Return, and #07 is Bell or Tone. How would you like Delphi to "display" them???
as ASCII symbols instead of performing actions associated

Last edited by comer1; 11-01-2019 at 03:39 PM.
Reply With Quote
  #4  
Old 11-04-2019, 02:11 PM
Norrit Norrit is online now
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,335
Default

And what is the ASCII symbol of a Line Feed, Carriage return, Tab, and so on?
Reply With Quote
  #5  
Old 11-05-2019, 05:14 PM
comer1 comer1 is offline
Junior Member
 
Join Date: Dec 2011
Posts: 16
Default

Quote:
Originally Posted by Norrit View Post
And what is the ASCII symbol of a Line Feed, Carriage return, Tab, and so on?
All the symbols

Reply With Quote
  #6  
Old 11-07-2019, 10:11 AM
Norrit Norrit is online now
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,335
Default

Then you'll have to send them as output with ALT pressed down
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 01:04 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.