boots Posted January 3, 2012 Share Posted January 3, 2012 Please help, i want to change the hosp times to a set time but dont know how to write the code, i dont want to do it with the rand formular just want a set time,can some-one please show me the code i need to replace the rand with i would like hosp times at 20 mins, Im new to this and want to learn but this is just driving me mad Quote Link to comment Share on other sites More sharing options...
boots Posted January 3, 2012 Author Share Posted January 3, 2012 thankyou so much been searching the here for what seems like ages, and now i see how its done i can't belive i missed it :) Quote Link to comment Share on other sites More sharing options...
Neon Posted January 4, 2012 Share Posted January 4, 2012 lololololololol. Quite simple stuff. Quote Link to comment Share on other sites More sharing options...
lucky3809 Posted January 4, 2012 Share Posted January 4, 2012 It may be simple to us that are more advance in coding, but it may be hard for new people who are learning, asking questions does not hurt any. I am sure we ALL have asked questions and STILL do when we are stuck on something simple. With coding there is always something NEW to learn. ( i know i ask when I am stuck, then everything clicks after asking). Quote Link to comment Share on other sites More sharing options...
boots Posted January 4, 2012 Author Share Posted January 4, 2012 Its all new to me and i find it very hard to get my head round,got along way to go but slowly getting into it and so far enjoying it going blind from looking at my screen for hours though lol, thanks to this forum i can learn alot with your help guys thanks again :D Quote Link to comment Share on other sites More sharing options...
Neon Posted January 4, 2012 Share Posted January 4, 2012 I didn't mean to bash anyone. Usually people start with a language by like reading w3schools and examining other users code. Github can be great for that. You can learn quickly from others sources (just don't steal). I just thought it was funny about that question. Most, if not all of these questions are simple google searches away. Theres nothing wrong with asking question, but eh some people get annoyed with em. I just thought you gave no effort at all, because you knew how the rand() function worked, but then you couldn't figure out how to get a static number to work? You probably didn't test anything. You will learn eons more if you test instead of having people tell you. Plus you'll enjoy it more, actually knowing how things operate and run. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.