Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / chr$(number)=" : What number makes chr$=" ?

Author
Message
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 7th Jun 2009 20:48
Hello!

I am having some trouble figuring out what number makes the command chr$() print """

Thanks, TheComet


Make the path of your enemies easier with Waypoint Pro!
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 8th Jun 2009 00:01
2 Ideas

1: Google Ascii Of Quotes(Or Ascii of ")
2:



Either one will yeild the same result :



WOOHOO! lol

New Site! Check it out \/
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 8th Jun 2009 02:30
I think it is 34, may be wrong though.

Here is a program to find out:




That should work with little to no changes to just show all of em.

Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 8th Jun 2009 03:27
It is 34.
Edit BN2's code to write out all 255 characters on one page and print it out. It's worthwhile having an ASCII chart about the place.

I would like it if DarkEdit had a tool to insert ascii characters.

There is an eight letter word. You can insert a letter into it or remove a letter from it without changing its meaning. Answer
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 8th Jun 2009 03:55
Quote: "I would like it if DarkEdit had a tool to insert ascii characters."


EXACTLY!!!!!!! but google has plenty of ascii charts

New Site! Check it out \/
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 8th Jun 2009 04:49
Quote: "EXACTLY!!!!!!! but google has plenty of ascii charts"


The only problem is that for some reason I have noticed discrepancies between some of those on google and DBC's. Not sure why.

Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 8th Jun 2009 17:31
Ah, cool! I forgot about the asc() command... Thanks everyone!

I tried google, but nothing popped up at all.

TheComet


Make the path of your enemies easier with Waypoint Pro!
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 8th Jun 2009 18:36
Hmmm that's odd tbat google didn't show anything....


that's where i got mine lol

New Site! Check it out \/
Grog Grueslayer
Valued Member
20
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 10th Jun 2009 06:45
The Ascii chart I use is two images but looking for those same images I saw this one (using Google)... so I'm switching to this one instead since it looks accurate.



That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 10th Jun 2009 06:48
ok, i cant understand the chart but if its accurate then cool

also rolfmao on ur sig image grog

There are only 10 kinds of people in the world, those who understand binary and those who dont
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 10th Jun 2009 07:02
It's easy. it has binary and HEX ascii values of all the characters, if i'm reading it correctly, the left one is binary and right one is HEX and the far right is what would be displayed.

most of them have decimal on them though. which is what dbc uses of course.

New Site! Check it out \/
Grog Grueslayer
Valued Member
20
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 10th Jun 2009 07:22
Quote: "ok, i cant understand the chart but if its accurate then cool

also rolfmao on ur sig image grog"


Thanks.

The first line in each box (000 to 255) are the numbers you use for CHR$() that represent each character. The second line is the hexadecimal code... if you use a hex editor on a file those are the numbers/letters you'd see that represent each character. The third line is the actual character... what it looks like on the screen (sometimes the font you use may or may not look the same as what you see on that image). The fourth line in the first two boxes you can ignore... it's just control characters like Enter, Tab, Esc, and Line Feed. Printing the first 32 characters sometimes show weird results because their control characters.

Here's a Hex Editor in Wikipedia: http://en.wikipedia.org/wiki/Hex_editor

Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 10th Jun 2009 22:06
Quote: " the left one is binary and right one is HEX and the far right is what would be displayed."

The left is decimal.

That is a nice chart!

There is an eight letter word. You can insert a letter into it or remove a letter from it without changing its meaning. Answer
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 11th Jun 2009 00:24
Ya i geuss your right i just skimmed and it didn't look decimal for some reason doh! lol sorry

New Site! Check it out \/

Login to post a reply

Server time is: 2025-06-08 08:50:41
Your offset time is: 2025-06-08 08:50:41