Okay, I was given a source code to retype into an 83+ but I can't find one of the things. I need "iPart" I found "iPart(" but I can't find it without the "(". Does this even exist, or was it a typo in the paper I'm retyping?
Probably a typo.
Visit my site at http://nerdyproductions.sobertillnoon.com
PokéGen on Sourceforge:
http://www.sourceforge.net/projects/pokegen
ticalc profile
PokéGen on Sourceforge:
http://www.sourceforge.net/projects/pokegen
ticalc profile
Strips any decimal away. int( puts it to the next lowest integer. (they do differenet things when the number is negative).
Visit my site at http://nerdyproductions.sobertillnoon.com
PokéGen on Sourceforge:
http://www.sourceforge.net/projects/pokegen
ticalc profile
PokéGen on Sourceforge:
http://www.sourceforge.net/projects/pokegen
ticalc profile
You probably have source code to an 82 game, I believe alot of the commands for it does not have ( on the end like the 83 line...
foamy - if you're unsure, just get the original .83p or .8xp file and run it through SourceCoder2:
http://www.cemetech.net/projects/basicelite/sourcecoder2.php
http://www.cemetech.net/projects/basicelite/sourcecoder2.php
Incorrect. ipart and fpart are for reals to get the int and frac parts respectively. real and imag get the real and imag parts.
Also not entirely correct:
They can be used on imaginary numbers as well. Try fpart(3.5i I bet you will get .5i (assuming your in a+bi mode ).
Kerm Martin wrote:
part and fpart are for reals
They can be used on imaginary numbers as well. Try fpart(3.5i I bet you will get .5i (assuming your in a+bi mode ).
....as I stated above. Let me restate all this:
iPart( : Integer part of ANY number
fPart( : Fractional part of ANY number
real( : The real part of an imaginary number
imag( : The imaginary part of an imaginary number
iPart( : Integer part of ANY number
fPart( : Fractional part of ANY number
real( : The real part of an imaginary number
imag( : The imaginary part of an imaginary number
sorry, got me commands sccrewed up, a lot easier to keep them staight when you have a calc in the vicinity
rivereye wrote:
sorry, got me commands sccrewed up, a lot easier to keep them staight when you have a calc in the vicinity
Perfectly understandable, happens to the best of us.
Sorry, I wasn't able to get on for a while. (I work too much...)
And I talked to my comp sci teacher about it, and you guys were right. It was a source code for an 82. I got it working with the iPart(, so I rewrote her source codes for her.
And thanks for explaining what it was. I was confused on why the program didn't just use int(.
Thanks again!
-foamy
And I talked to my comp sci teacher about it, and you guys were right. It was a source code for an 82. I got it working with the iPart(, so I rewrote her source codes for her.
And thanks for explaining what it was. I was confused on why the program didn't just use int(.
Thanks again!
-foamy
foamy3 wrote:
Sorry, I wasn't able to get on for a while. (I work too much...)
And I talked to my comp sci teacher about it, and you guys were right. It was a source code for an 82. I got it working with the iPart(, so I rewrote her source codes for her.
And thanks for explaining what it was. I was confused on why the program didn't just use int(.
Thanks again!
-foamy
And I talked to my comp sci teacher about it, and you guys were right. It was a source code for an 82. I got it working with the iPart(, so I rewrote her source codes for her.
And thanks for explaining what it was. I was confused on why the program didn't just use int(.
Thanks again!
-foamy
woot! I love when we succeed.
Page 1 of 1
» All times are UTC - 5 Hours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Advertisement