This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-06-07 08:02:40

Tbtemplex97
Scratcher
Registered: 2011-11-12
Posts: 100+

Never Use Variables Again

I Dont know if many people realise but because of the list system, you never actually need to use  variables, let say for kills it would be:

Every time you killed some thing: Replace Item [X] With Item [X + 1]


Online Status: http://blocks.scratchr.org/API.php?action=onlineStatus&user=Tbtemplex97
Darkspace Coming Soon!, Try the Singleplayer Demo

Offline

 

#2 2012-06-07 08:37:27

benjamin2
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Never Use Variables Again

Tbtemplex97 wrote:

I Dont know if many people realise but because of the list system, you never actually need to use  variables, let say for kills it would be:

Every time you killed some thing: Replace Item [X] With Item [X + 1]

Some people find variables easier though. It's the same as saying that you don't need to use the glide to x: y: block because you can get around it with the other blocks, but it's harder.


http://i.imgur.com/gp6tZ.gif

Offline

 

#3 2012-06-07 09:19:42

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: Never Use Variables Again

Yeah, variables are easier. I actually don't use lists, I don't know why, Ijust never really need them. They have their use, I just haven't needed it yet.


Why are the secret organizations getting all the attention?  mad

Offline

 

#4 2012-06-09 21:42:10

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: Never Use Variables Again

Variables look clearer than list items, as they have a name attached.


http://trinary.tk/images/signature_.php

Offline

 

#5 2012-06-30 06:00:41

ROSMan
Scratcher
Registered: 2011-04-29
Posts: 1000+

Re: Never Use Variables Again

plus you can show/hide variables, and change their look.


GENERATION 33: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment

Offline

 

#6 2012-06-30 10:45:42

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: Never Use Variables Again

Lists actually are good for making programming languages though. Instead of RECALL HEALTH; SET SPEED TO 3; you can have RECALL 1; SET 2 TO 3; and make it easier to implement.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#7 2012-06-30 14:04:17

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Never Use Variables Again

sonicfan12p wrote:

Yeah, variables are easier. I actually don't use lists, I don't know why, Ijust never really need them. They have their use, I just haven't needed it yet.

I have never used lists either.   tongue


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#8 2012-06-30 14:14:29

wolfdude999
Scratcher
Registered: 2012-01-07
Posts: 1000+

Re: Never Use Variables Again

Firedrake969 wrote:

sonicfan12p wrote:

Yeah, variables are easier. I actually don't use lists, I don't know why, Ijust never really need them. They have their use, I just haven't needed it yet.

I have never used lists either.   tongue

I have only used them in one of my projects.  I just think that the variables are easier to use.


http://i48.tinypic.com/15yxmp4.png

Offline

 

Board footer