View Single Post
 
thnx
Reply
Posted 2008-10-12, 08:37 AM in reply to Goodlookinguy's post starting "I'm a self-taught programmer. If you..."
thnx GLG and Wolfturn this rly helped me alot lmao i'm too dumb to be a programmer no way in hell i could rap my head around it lol



Goodlookinguy said: [Goto]
I'm a self-taught programmer. If you wanted to, you could be too. By the way, if you're poor, "free" E-books are a valid way to go. Just be sure to read them and delete the books later once you understand what you're doing.




You're welcome. You explained them as well as anyone could have. Variables are just variables, they have no defined value until given one. Then when you no longer need that value, then you can reuse the variable to define it if you want.

PHP Code:
class programmer {
 function 
find_lie($user) {
  
$user $this->detect($user);
 }
 function 
detect($user) {
  
// This function has a hidden value :D
  // Could I have used this function alone?
  // Yes, but I felt like adding in more to
  // seem special and smart.
 
}
}
$programmer = new programmer(true);
$Wolfturn $programmer->find_lie($Wolfturn);
if (
$Wolfturn == "lie") {
 echo(
"You're no programmer!");
}
elseif (
$Wolfturn == "truth") {
 echo(
"I'm glad to see you at least know something.");
}
else {
 echo(
"Oh, dear lord, Regular Expressions are hard!");

----------------------------------------------

Anyways, all of this chit-chat about RPG Maker has gotten me all excited to create something no one has ever done before.

By the way flappykun, I hope all of this crud helped you.
Old
Profile PM WWW Search
flappykun2349 enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzflappykun2349 enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
flappykun2349