Level: 50 Age: 1y, 10d, 3h, 12min and 41s
Elwood wrote:
Dumb ass... you set camping to 0, yet you never defined it... is it a float,
int, double, what? Then, you don't put your while loop in scope using {}'s...
it would dimply do the party say line... as for the party say line, i don't
think p' is a valid keyword... assuming you fix those errors, what the fuck do
you do i++ for? i is not defined anywhere... you prolly meant camping++, as
it is, you'd have an infinite loop... lastly, none of your lines end in
semi-colons... perhaps you are using BasicDumbAss as your programming
language, but here we use LPC... So in conclusion, you are a dumb ass... oh
Hmm, Asolo's example is actually almost perfect. There is only
that 'i++' bug. You don't need to declare variables separately
(compiler/interpreter notices new variable when it is used first time)
and setting value to 0 says that the type is integer.
(float would be 0.0, string ""). Also there is no need for
parentheses, since loop starts from "while" statement and ends
when "end while" statement is read. Every statement between those
goes inside loop.