Off Topic > Off Topic
Programming Megathread
ZSNO:
--- Quote from: Ravencroft· on April 18, 2016, 08:39:06 PM ---That worked, thanks. There were like 20 different boxes i had to check/uncheck tha all had to do with the format. Not sure why anyone would want their typing so restricted like that.
--- End quote ---
It saves lots and lots of keystrokes when you set it up to what you want.
SetGaming:
--- Quote from: ZSNO on April 18, 2016, 08:53:45 PM ---It saves lots and lots of keystrokes when you set it up to what you want.
--- End quote ---
idk, I get super used to typing in parenthases that having the pair completed for me leads to me typing an extra closing parenthase it's like "really"
Ravencroft·:
Any suggestions on how to approach this?
I've never had to make a variable increase in increments before. Is there a specific syntax for this?
Foxscotch:
--- Quote from: SetGaming on April 18, 2016, 08:57:26 PM ---idk, I get super used to typing in parenthases that having the pair completed for me leads to me typing an extra closing parenthase it's like "really"
--- End quote ---
many editors will automatically ignore it if you enter a second one after they added it themselves
also, it's parenthesis for singular and parentheses for plural
--- Quote from: Ravencroft· on April 18, 2016, 09:02:12 PM ---
I've never had to make a variable increase in increments before. Is there a specific syntax for this?
--- End quote ---
I'm not sure exactly what this assignment is asking you to do (what is M?)
but to increment a variable you set the variable to itself plus the number you want to increment by
v = v + 0.1 in this case
there's also a syntax shortcut for that, v += 0.1
if you were just incrementing by 1 you could use v++ but that won't work for this
Ravencroft·:
Nevermind I figured it out, thanks though. I didn't realize the lecture material for arrays began this week and figured the program out pretty quickly after reading through the notes.