02-22-2003, 12:59 PM
02-22-2003, 01:19 PM
It's CHR$(13).
02-22-2003, 02:32 PM
To find the CHR$ values I just write a simple program like
Code:
DO
DO: i$ = INKEY$: LOOP UNTIL i$<>""
PRINT ASC(I$)
LOOP UNTIL i$ = CHR$(27)
02-22-2003, 10:50 PM
02-22-2003, 11:10 PM
aw, you stole my thunder hex!
02-22-2003, 11:21 PM
Oh! That makes me some kind of Prometheus?
02-23-2003, 06:06 AM
yeah man really I wouldn't say RTFM but the easiest way is to do the inkey loop if you're not sure.
02-23-2003, 09:19 AM
I wouldn't say it too, but sadly for us +80% of the answers for these kind of questions can be found on the manual... and the ASCII code table is in the QB manual, so...
Ah. And if you wonder why 13=CR, it's 'cuz CR means CARRIAGE RETURN. BTW, some "old-timers" with computers will remember that in some machines the ENTER key was named... RETURN. Funny, eh?
Ah. And if you wonder why 13=CR, it's 'cuz CR means CARRIAGE RETURN. BTW, some "old-timers" with computers will remember that in some machines the ENTER key was named... RETURN. Funny, eh?
02-23-2003, 06:10 PM
Quote:Ah. And if you wonder why 13=CR, it's 'cuz CR means CARRIAGE RETURN. BTW, some "old-timers" with computers will remember that in some machines the ENTER key was named... RETURN. Funny, eh?
I thought the big funny-shaped one was still called RETURN :???: or maybe thats just me being an old timer
And guys, if everybody RTFM we wouldn't have anybody posting here at all
02-23-2003, 06:23 PM
Quote:And guys, if everybody RTFM we wouldn't have anybody posting here at all
I don't think so. Not everything comes in the FM, but the basic stuff does. I think that RingTFM should be the 1st step when someone has a problem, but people are too lazy (I don't understand that, as RingTFM is faster and easier than having to log on the internet, load IE, enter QBnews and posting a question...)