Reply to Re: You are right Simeon [with text]
If you don't have an account, just leave the password field blank.
: it is easy to make yer own power function, like:
: procedure superpower (base,exponent : integer;
: power : real) ;
: begin
: power := 1;
: repeat
: power := power * base;
: exponent := exponent - 1;
: until exponent = 0;
: end;
: i think this is right... have not scripted in pascal since april or so but i tried.
*tullisti has a heart attack at seeing pascal/delphi code again*
*grin* it's a pet hate, mainly because high schools insist on teaching it, when there are HEAPS of other languages out there which would teach better coding structure, object orientation, and would enerally work better
: procedure superpower (base,exponent : integer;
: power : real) ;
: begin
: power := 1;
: repeat
: power := power * base;
: exponent := exponent - 1;
: until exponent = 0;
: end;
: i think this is right... have not scripted in pascal since april or so but i tried.
*tullisti has a heart attack at seeing pascal/delphi code again*
*grin* it's a pet hate, mainly because high schools insist on teaching it, when there are HEAPS of other languages out there which would teach better coding structure, object orientation, and would enerally work better
