b3ta.com qotw
You are not logged in. Login or Signup
Home » Question of the Week » Off Topic » Post 1608021 | Search
This is a question Off Topic

Are you a QOTWer? Do you want to start a thread that isn't a direct answer to the current QOTW? Then this place, gentle poster, is your friend.

(, Sun 1 Apr 2001, 1:00)
Pages: Latest, 836, 835, 834, 833, 832, ... 1

« Go Back | See The Full Thread

It's easy, I'm a moron and I can do it. You just need to learn a handful of principles which are the same whatever language you use.
=-=-=-Veriables=-=-=-
Something that means something else, so you could do $a = "Carrot", then you just say $A instead of Carrot, and could change it to Cellory. Or it could be a number. Or it could be objects, I'll explain that later.
-=-=-=-Arrays-=-==-=--=
A single veriable made up of loads of other veriables. They have Keys and Values which allow for you to grab the speciic bit in it, so you could do. If you don't bother writing a key though, it'll just number them starting from 0

$vegtables = array('carrots', 'celory', 'lettus');

And then you could do $vegtables[0] to grab carrots.

==-=-=-=- flows -=-=-=-=-
These'll do stuff, and there are a handle for of them, such as
for($i = 0; $i <= 10; $i++) {
echo $i;
}
that makes $i = 0, then it'll do the loop through {} while $i is less than or equal to 10, and then it'll add 1 to $i. You could use this to make it run forever.
-=-=-=-=-=-=
There are loads of things, can't explain it here, but its basicly doing stuff with stuff.
(, Fri 4 May 2012, 21:02, 3 replies, latest was 12 years ago)
Different languages sometimes call them different things, but its all the same.

(, Fri 4 May 2012, 21:03, Reply)
okay

(, Fri 4 May 2012, 21:04, Reply)
I have signed up to codeacademy
If I get any anecdotes from it I may just put them on coll3ctive
(, Fri 4 May 2012, 21:04, Reply)
Oh sweet !
We're getting pretty good traffic on it, for what it is. A good minimum of 50 uniques a day.
(, Fri 4 May 2012, 21:08, Reply)
Apart from assembly, where your operations are limited to:
Move, jump, compare, call BIOS interrupts, add, subtract and perform bitwise logic.
(, Fri 4 May 2012, 21:26, Reply)

« Go Back | See The Full Thread

Pages: Latest, 836, 835, 834, 833, 832, ... 1