Scancodes?

Miscellaneous Forums/General Discussion/Scancodes?

I want to post every scancode using types in the Code Archives like this:
Type scancodes
Field escape
End Type
scancodes\escape=1

Exept it would have every key.
If you think you might use it, tell me and i'll post it in the code archives.
If nobody has a use for it, though, I'll keep it to myself.

Why would you do this when its already in the documentation?

I don't see the advantage.

Kind of a waste of time, really. A global const would suffice in every situation. I would guess that this is what everyone already uses (that doesn't hard-code the scancodes).

Was one of the first things I did when I started coding with Blitz3D.

**EDIT** ...and indeed, I put the very same file into the code archives back in October 2005 (in miscellaneous).

I'm trying to learn types, and I think that this would be a nice time to do it.

The best way to learn, is to write dozens upon dozens of mini-programs, learn from them, then delete them.

The point you need to realise, is that when you're starting out in Blitz (or any language I guess), nobody else is going to be as impressed with your first programs as you are. ;)

If you have something that's genuinely useful, then fair enough. But in the grand scheme of things, early creations need to be kept firmly behind closed doors.

Not having a go - we all got to start somewhere.

I agree with GFK, However, this doesnt mean that you cannot post everything you write. But maybe if your not sure of the interest, you could post them in your worklog?

Just dont expect loads of people to think them amazingly useful.

When Im learning a new language, I always rewrite Light Cycles and Misstle Command. I dont always finish them for each language, but just the planning them out and solving the main problems is helpful


Edit @ vinylpusher just looked, haha thats exactly what Gfk was talking about.

and indeed, I put the very same file into the code archives back in October 2005 (in miscellaneous).

I did one (B3D) in 2004 http://www.blitzbasic.com/codearcs/codearcs.php?code=1174

Er... so how do we use this?
lol