Turing General questions
Turing General questions
Hey I'm new to this board, and I think it's amazing! Everyone knows what they're doing.
I had some general questions. :S
Does anyone know where I can download the Turing Color tablet thing, or is there one up?
What's the conversion between delay and seconds or minutes?
Also me and my friend were having a debate on this : is it possible so that if you "password protect" something, is it possible for the same password to be used over on the same computer account even if the program had been closed and re-opened?
One last thing the 'gesch' thing is used to only get one charcter, is there such a feature so that it gets a full word?
Sorry if I have to many questions, I just really want to do good on this assignment.
<3 Athy
Archived topic from Iceteks, old topic ID:2989, old post ID:24608
I had some general questions. :S
Does anyone know where I can download the Turing Color tablet thing, or is there one up?
What's the conversion between delay and seconds or minutes?
Also me and my friend were having a debate on this : is it possible so that if you "password protect" something, is it possible for the same password to be used over on the same computer account even if the program had been closed and re-opened?
One last thing the 'gesch' thing is used to only get one charcter, is there such a feature so that it gets a full word?
Sorry if I have to many questions, I just really want to do good on this assignment.
<3 Athy
Archived topic from Iceteks, old topic ID:2989, old post ID:24608
Turing General questions
Hi. I'm writing this real quick 'cause I'm procrastinating and I have to go to sleep soon. GETCH is usually used to get one character. You can have it get numerous characters by saying this:
var name : string (4) << That number is how many letters you can have.
So, as long as your word is always 4 characters, it will work. Anything higher or lower willl not work.
Also, the conversion from minutes to seconds is usually standard but it is also highly dependant on the speed of the machine. I know that when I was programming in turing, 1 second = delay (1000) approximately. So, a minute would be approximately delay (60000). I'm not sure how well this works or if it works on ALL machines. I think the new object oriented turing has a timer now, but I have swapped with soo many programming languages that I didn't get as far in OOT. Hope that helps. Somebody else may be able to answer the rest of your questions. If not, I'll answer them later. Caio.
Archived topic from Iceteks, old topic ID:2989, old post ID:24609
var name : string (4) << That number is how many letters you can have.
So, as long as your word is always 4 characters, it will work. Anything higher or lower willl not work.
Also, the conversion from minutes to seconds is usually standard but it is also highly dependant on the speed of the machine. I know that when I was programming in turing, 1 second = delay (1000) approximately. So, a minute would be approximately delay (60000). I'm not sure how well this works or if it works on ALL machines. I think the new object oriented turing has a timer now, but I have swapped with soo many programming languages that I didn't get as far in OOT. Hope that helps. Somebody else may be able to answer the rest of your questions. If not, I'll answer them later. Caio.
Archived topic from Iceteks, old topic ID:2989, old post ID:24609
Turing General questions
Thanks a ton that explains it a lot better, but when u get back lol, on the topic of the 4 letter or w/e word, I can put a variable like length so I can calculate the length of their pass word, right?
eg. var name: string (leng)
leng := pass (length)
or something like that, it's too late to fully consentrate.
<3 Athy
Archived topic from Iceteks, old topic ID:2989, old post ID:24610
eg. var name: string (leng)
leng := pass (length)
or something like that, it's too late to fully consentrate.
<3 Athy
Archived topic from Iceteks, old topic ID:2989, old post ID:24610
Turing General questions
If you want to have the same password recognized for different runs of the program, you'll need to save it in a file.
Archived topic from Iceteks, old topic ID:2989, old post ID:24611
Archived topic from Iceteks, old topic ID:2989, old post ID:24611
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
Turing General questions
best way is MD6 or other hashing, though I'm not sure if turing has a function for that, if not you'd have to basically know how MD5 works and I think it's like illegal or something for people to know, or at least it's a really touchy subject, so it may be hard to use MD5. So your own hashing algorthm would be easier to do.
Archived topic from Iceteks, old topic ID:2989, old post ID:24620
Archived topic from Iceteks, old topic ID:2989, old post ID:24620
Honk if you love Jesus, text if you want to meet Him!
Turing General questions
Doesn't sound like he or she actually needs something really secure.
Archived topic from Iceteks, old topic ID:2989, old post ID:24622
Archived topic from Iceteks, old topic ID:2989, old post ID:24622
Turing General questions
Hahaha, please keep in mind it's my first time in a Turing course, so I am pretty new at it. The password part is not that important to save, I just that that if it's something relativly simple then I can get extra marks for it, but by the sound of it, I don't think so.
Archived topic from Iceteks, old topic ID:2989, old post ID:24627
Archived topic from Iceteks, old topic ID:2989, old post ID:24627
Turing General questions
btw I really need the color table. I can't find it anywhere.
Archived topic from Iceteks, old topic ID:2989, old post ID:24633
Archived topic from Iceteks, old topic ID:2989, old post ID:24633
Turing General questions
Color table? Like one that shows all the color's numbers? (For example, 125 would give you pink or something?), ya, I made one of those. I can probably find it stashed away somewhere. I used it alot when I was programming my OVNI game. If that's what you're looking for, I can hook you up with one.
Archived topic from Iceteks, old topic ID:2989, old post ID:24659
Archived topic from Iceteks, old topic ID:2989, old post ID:24659
Turing General questions
For your question earlier about seeking the length of a word and getching it. It doesn't really make sense because the getch command is used to restrict a certain amount og input. For example, if you press Y or N, you don't have to press ENTER to put it through. Now, if it's for random words or different lengths, it doesn't really serve a purpose because there would be NO WAY to find out how long the word would be in advance, that's kid of like saying that the computer can read your mind. If you want the computer to automatically press enter for you after you type in a word, you can put in a delay so that when the user doesn't type something for say......2 minutes, the word goes through without them having to press enter. As for the password thing, you would have to save the password in a file (Like wtd said). This would work out perfectly. The omly thing though is security. You might want to encrypt it if you are planning to put some protection in it. Doesn't have to be the whole 128 bit jazz or anything, just a simple conversion would be fine. The reason being is that if you save it as a .txt file, anyone can view it. If you save it as a .t file (For turing), anyone can read it still. If you devise a program to take that password (For example: PASSWORD = HELLO) and convert it into something different (Like, the computer divides the ASCII value by 2 or something similar to create 6*KL@ from HELLO) then anyone who reads it won't be able to know what it is. Then, when the program runs, it just reads your file and converts the encrypted password BACK to HELLO by using the same method (Multiplying by 2 to convert 6*KL@ back to HELLO). That's what I would suggest. Might take a little thinking but it will work. If all else fails, just save your PASSWORDS in a .t file as it is a little more difficult to open up and view its contents.
Archived topic from Iceteks, old topic ID:2989, old post ID:24660
Archived topic from Iceteks, old topic ID:2989, old post ID:24660
Turing General questions
Woah, keep in mind it's my first year of Turing, lol. It's just a simple program, lol, but thatnks for all your help. Oh and don't worry about the color table I got one, so if anyone needs one, you can ask me.
Archived topic from Iceteks, old topic ID:2989, old post ID:24667
Archived topic from Iceteks, old topic ID:2989, old post ID:24667