Computer Science Canada Turing Swiss Army Knife

 Author: .hack [ Fri Feb 06, 2004 4:27 pm ] Post subject: Turing Swiss Army Knife Well, I've started programming a "swiss army knife" like tool in Turing. What it basically is, is a conversion program. Right now I am working on, measurements, weighy, temperature and money conversions. THis is just a simple utility for doing quick math, if you want to know how many CM are in a foot, jus followt he menus to convert feet into Centimetres etc. And the same goes for weight, temp etc etc. I plan on adding more conversions, and I am even trying to create text menu . Oh well, this is just what I am working on, if anyone is interested in it, I can post it up, I know its not too high tech, but for my skill level it is(I just finished a program that allows the input of a cars travelliug start time, end time, distance and then outputs the total time and average speed Oh well, just so you guys know of the things to come

 Author: Cervantes [ Fri Feb 06, 2004 4:31 pm ] Post subject: A good program to make. Post the code; if it isn't very efficient we can teach you how to make it more efficient. Also on a program like this I would suggest going a bit overboard and learning how to make menus. Either learn GUI, or make your own using Mouse.Where or Input.KeyDown.

 Author: .hack [ Fri Feb 06, 2004 4:35 pm ] Post subject: thanks for the advice, I was planning something like this if 1 = 1 then put "you have selected blah blah blah" get rCM rAns := rCM *2.14 put "rCM is equal to ", rAns or something liek that and use if statements for most of the options with Else statements. I would have to make the menus effiecien enough so Id idn't have like 800 if statements. remember its like my 5th learning turing at school, so I don't know too much =/

 Author: Cervantes [ Fri Feb 06, 2004 5:03 pm ] Post subject: text based? if your up for it, I would suggest trying to make buttons and such ie. have a main menu where you click on the button you want (say, "INCHES <--> CM") and it takes you to a new screen where you enter the value for INCHES in a textbox and click convert and it appears in the CM text box. That would be fairly hard. if you try it just do the first one, then post it

 Author: Dan [ Fri Feb 06, 2004 6:30 pm ] Post subject: migth as well post it all since u all ready stared this topic, lol. P.S. i saw ur name is .hack, that have anything to do with .hack// anime?

Author:  .hack [ Fri Feb 06, 2004 10:04 pm ]
Post subject:

 code: %||Name: Stuart Montreuil                                                   || %||Class: ICS3M                                                             || %||Program File: StuartM51                                                  || %||Description: Large Conversion Program for Length,Weight,Temp             || %Variables for Length Conversion var rInch,rCM,rMM,rM,rMile,rKM,rFt : real %Variables for Solid Weight Conversion var rPnd,rGrm,rKgrm,rOnc,rMgrm : real %Variables For Liquid Weight Conversion var rL,rMl,rOun,rGal : real %Code put "Choose a Conversion Topic:" put "" put "1.","Length and Width Measurements" put "2.","Solid Weight Measurements" put "3.","Liquid Weight Measurements" put "4.","Temperature" if 1 = 1 then put "" put "Length And Width Measurments" put "" put "Choose Your Operation" put "" put "1.mm to centimetre." put "2.mm to feet." put "3.mm to metre." put "4.mm to kilometre." put "5.mm to miles." put "6.cm to mm." put "7.cm to feet." put "8.cm to metre." put "9.cm to kilometre." put "10.cm to mile." put "Please enter the length in Inches" get rInch rCM := rInch * 2.54 put " " put rInch, " inches", " is ", rCM, " centimetres" put " " put "Measurement Utility Writen by .hack of Binary 3" end if

is all I hav really done so far, and I know the code there is not complete. As you can see its going to be a biatch to code all of the if statements when everything is sort of jumbled together, but I believe I can pull through.

I watch very little anime, and have never played the game series. But .hack sounded cool and its geeky so I chose it

P.S the codea t the bottom that is broken away from the large list of puts, is jsut the original code I to do in class for our assignment, so pretty much disregard that. its more like a model for me to view to keep self in check.

 Author: Cervantes [ Sat Feb 07, 2004 9:49 am ] Post subject: if you are having trouble keeping it organized, use procedures. they are very very easy to use / learn and will help enourmously for keeping you organized. Looks not too bad, if you do make it text based then I would suggest making it look nice with background colours and text colours and a fancy title etc. Everything is better if it looks better! you don't need to have that 'if 1=1 then" in there.. 1always=1, so there's no way that it could not enter that if statement. what you would need eventually is a similar if statement around that section where you choose what measurments you want to convert. except you'll have a variable for your first choice (measurment, temperature, weight etc.) and then "if (thatvar)=1 then" Good job, keep working on it

 Author: .hack [ Sat Feb 07, 2004 2:34 pm ] Post subject: I'm willing to learn if you willing to teach

 Author: Maverick [ Sat Feb 07, 2004 2:42 pm ] Post subject: Hacker Dan created .hack. Ya pretty good prog, but if you know how to create buttons and such it wil make it look a lot better. Stil good tho. +5BITS

 Author: .hack [ Sat Feb 07, 2004 2:43 pm ] Post subject: thank you , I hope to have it released by sunday evening, but who knows. It will look kind of repetitive seems how some other guy made on last night and put it up.

 Author: .hack [ Sat Feb 07, 2004 2:52 pm ] Post subject: yea, I think I'm going to need a scroll bar or something to be able to croll with for this.. so any ideas? because it spawns choices down and you type in the choice number, but unfortunately the list is too long and gets cut off, so is ther any way to make a scroll bar type thing, or keyboard arrow pushes to scroll?

 Author: Maverick [ Sat Feb 07, 2004 2:55 pm ] Post subject: Well if you dont wanna do that just make the screen bigger.

Author:  Cervantes [ Sat Feb 07, 2004 4:29 pm ]
Post subject:

to make the screen bigger
 code: View.Set ("graphics:x value;y value")

for a scroll bar, you can use the GUI one. check out the help file on it.

Author:  .hack [ Sat Feb 07, 2004 4:57 pm ]
Post subject:

Awesome, thanks for the help. Well I got everything besides the scoll bar working. my formulas work and my coding structure also works. here is the geist of my code so far(Probably should have used arrays, but I = dumbass)

And so on and so forth for the rest of the options. I haven't done the section for weight and temperature yet, I'm jsut trying to get this working. Unfortunately I have to go outfor dinner tonight so this may but a delay on the release date.

 Author: Cervantes [ Sat Feb 07, 2004 5:02 pm ] Post subject: whoa thats crazy... definately use the inital system where you had menus to determine what type of thing you wanted to convert, like temp or distance. keep working on it!

 Author: white_dragon [ Sat Feb 07, 2004 5:45 pm ] Post subject: wow, tat's soooooooo kool

 Author: .hack [ Sat Feb 07, 2004 9:24 pm ] Post subject: Remember that good mood I was in? yea its ruined, apparently , I have been asking jeeves for How many mm in a foot" and get the result, while I was doing feet to MM, thus having the equation backwards. Therefore everything to this point is FUBAR. Looks like the release date will be pushed back some more.

 Author: recneps [ Sun Feb 08, 2004 4:06 pm ] Post subject: maybe you could try it, "choose which you are starting with" then from there it pops up (say you chose mm) 1..mm->feet 2.mm->cm and so on and so on for that specific starting

 Author: the_short1 [ Sun Feb 08, 2004 5:35 pm ] Post subject: EDIT: Removed Negative Comment the_short1

 Author: Paul [ Sun Feb 08, 2004 5:39 pm ] Post subject: Dude, even our teacher suggested we could do this kind of program, just cause someone has the same type of program doesnt mean they "stole" your idea.

 Author: shorthair [ Sun Feb 08, 2004 9:44 pm ] Post subject: i like the mix of love and hate for his app ,it definatly made me laugh . I made one that was just for a few conversions ,

 Author: the_short1 [ Sun Feb 08, 2004 9:54 pm ] Post subject: EDIT: Removed Nasty comment... the_short1

 Author: Paul [ Sun Feb 08, 2004 9:59 pm ] Post subject: GUI? I don't see any GUI here, all I see is keyboard inputting.

 Author: .hack [ Mon Feb 09, 2004 8:17 am ] Post subject: Yea you posted urs like a month ago. and it was at the bottom of the list. And yea you caught me red handed, I stole YOUR idea despite everyone else whos made a unit converter, or when I could "stole" the idea for a better more useful program. Get yur head out of ur ass b4 someone rams it farther up. Ps: I don't like yours, not very organized, but good try and thanks for coming out. Pps: here have some bits for learning how to orgranize your programs in one post. I also don't think there is need for a poll. People will use whatever one they find more useful.

 Author: the_short1 [ Mon Feb 09, 2004 11:26 am ] Post subject: ok....i will calm down now... im glad you took responsibility for that... sorry.... i was just a little frustated at the fact that i have no time to work on my programs lately... i wanted to have that GUI done already for Buttons for Each unit on measuremen, also showing the full name of the Abriviation somewhere else while your mouse hovered on button.... <<>> thx for bits.. And here is a hint: http://www.digitaldutch.com/unitconverter/ because im a nice guy.... i like this website... only i would like it all in one....and for people not to have to surf the net... <<>.

 Author: .hack [ Tue Feb 10, 2004 9:46 am ] Post subject: **Update** I've completed the unit measurements for length, I plan on adding a scroll bar within 15 minutes and some kind of "go to" command. I'm abuout 35% done. I expect it done soon.

 Author: Maverick [ Tue Feb 10, 2004 10:55 pm ] Post subject: haha god i luv those ebaums thread pics. YOu win the prize. hhahahaha cant stop laughing

 Author: Paul [ Tue Feb 10, 2004 11:01 pm ] Post subject: What prize? I don't get it. Anyway, for the scroll bar, do you just make the height of the screen really high?

 Author: .hack [ Wed Feb 11, 2004 12:03 am ] Post subject: Paul, look above in my post for th epic. Its a mentally challenged kid receiving a prze. Obviously for a good effort someone else wouldn't have gotta prize for, you know, to make him look speical. The pictures does relate to the thread, I think you figure it out from three lolol and yea, u can increase th eiwndo size, but it only goes so big. I' having a few hitches, but I am trying to get um worked out. I need a GoTo line type command, which doesn't exist for turing and I don't undertsand the tut on it >.<

 Author: Cervantes [ Wed Feb 11, 2004 5:32 pm ] Post subject: the max pixels (that I found) is 4100. that's plenty. That's 256 rows... you'll be fine I'd assume though that it'd be different if you were using a different resolution. I'm using 1028x726

 Author: the_short1 [ Sat Feb 14, 2004 8:41 pm ] Post subject: 250... WOA! thats a lot of scrolling in a program.... crazy if it was a pong or pacman... ....whoa...or graphics...

 Author: Cervantes [ Sat Feb 14, 2004 10:17 pm ] Post subject: well the only way I can see anyone using that much in a game is when you have a map like in starcraft when you scroll around. Other then that such exorbant amounts of pixels would only be used in applications.

 Author: josh [ Sun Feb 15, 2004 11:13 am ] Post subject: this is pretty kool but I think you need to group the options better because it is a very long confusing list of choices for what to convert. Other then that it looks good so far.

Author:  the_short1 [ Tue Feb 17, 2004 9:27 pm ]
Post subject:

Yea.... the long list of choices approach is a bit more confusing and time consumming...but it will work...

This might remove lots of confusion:
 code: % Ask for starting unit of measurement... % Ask for Amount of that unit % Ask for New unit of Measurement... if unit = cm and newunit = mm         newamount = amount * 10 put newamount

 Author: jonos [ Thu Feb 19, 2004 5:22 pm ] Post subject: why are you flaming all of a sudden. why don't you just private message whoever you are going after and save us from having to read that post which is directed to only one person.

 Author: the_short1 [ Fri Feb 20, 2004 4:47 pm ] Post subject: I am sorry... Hacker Dan, you have my permission to remove 10 bits for being rude... ONLY DAN I have removed Negative comments and Ad's to my programs... and i will more helpful.... i did not mean to be soo rude.. And correction: i have only posted my Unit converter once, but i have changed my topic name a couple times..

 Author: the_short1 [ Fri Feb 20, 2004 4:55 pm ] Post subject: Hope This program will be released as a .exe Swiss Army Knife Beta version 1 Soon so everyone can try it out.... school work first.... extra progs second... mind you if your teacher is nice and u make a Kick@ss program, you might be able to hand it in at the end of the yera for bonus marks... i did that with my pac man....( good thing too otherwise i would drop like 5 %)

 Author: Andy [ Fri Feb 20, 2004 7:04 pm ] Post subject: i'll do it for him lol -10 bits jkjk

 Author: the_short1 [ Fri Feb 20, 2004 7:26 pm ] Post subject: i specified only hacker dan.... as other mods might do it also and dont post... then i might loose like 100 bits... that would be PS: Dodge do ya got any programs your building right now???

 Author: .hack [ Fri Feb 20, 2004 11:10 pm ] Post subject: I apology accepted. I think the best thing we can do is forgive and forget. Everyone gets stressed out at times, even I do too. I apologize for some the harsher words I have spoken as well. I hope we can mainstain a sense of support between us both, despite these past situations, I prefer to have friends more then enemies.

 Author: Andy [ Sat Feb 21, 2004 12:04 pm ] Post subject: the_short1 wrote: PS: Dodge do ya got any programs your building right now??? waa? i have to start my tta soon with azn_s and i'm gonna make my own gb hack y do u ask?

 Author: the_short1 [ Sat Feb 21, 2004 1:37 pm ] Post subject: just curious... i been asking others wut their up to.... whats GB hack?"?? and tta with Azn_sensation..??? i personally am working hard on FP for Contest...

 Author: naoki [ Wed May 12, 2004 5:00 pm ] Post subject: GB hack = a hack for some crappy online game called "Gunbound". Basically like Worms or that Tank Wars game on your Ti-83 but with items and the ability to play dress-up with your character. Dodge wants a hack because he wants to excel in this game. TTA w/ Azn_S = Tetra Triad Advance (I think). Based on the mini-game in FF8 where you play cards on a game board and attempt to kill the other guy based on four power readings. Promising, but they're only in their card developing stage right now

 Author: the_short1 [ Wed May 12, 2004 9:18 pm ] Post subject: good stuff.... me just finished OBEA contest submission... had to do a writeup etc for pacman..... i didn't do an algoryhtm / pweudo/ flowchart cuz i hate them.... and they'll prob dock marks... but guess what... i dont give a flying fook... my game will get good enough score to cover that i think more like i hope did jonos acually say that... (the quote in ur sig) hahahahahahahahahah

 :