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

#1 2011-07-21 00:55:32

my-chemical-romance
Scratcher
Registered: 2011-04-24
Posts: 1000+

constant varialbes

variables that are set once when editing the game on scratch and can't be changed any other way, in java this is a constant.

it would help with math when you want one number to change without rewriting a lot, or without annoyingly changing the variable by accident.

Offline

 

#2 2011-07-21 01:01:00

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: constant varialbes

Variable types would be nice, but it seems like something more likely to appear in a mod. Still, I support.


Posts: 20000 - Show all posts

Offline

 

#3 2011-07-21 01:04:12

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: constant varialbes

Well, just don't change the value.  tongue

Offline

 

#4 2011-07-21 01:05:54

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: constant varialbes

scimonster wrote:

Well, just don't change the value.  tongue

These would ensure that you don't f--err... mess up, especially without a debugger.


Posts: 20000 - Show all posts

Offline

 

#5 2011-07-21 01:14:05

sci_test
Scratcher
Registered: 2011-06-22
Posts: 100+

Re: constant varialbes

veggieman001 wrote:

scimonster wrote:

Well, just don't change the value.  tongue

These would ensure that you don't f--err... mess up, especially without a debugger.

Meh, Scratch is supposed to give a bit of a challenge.  wink

Stupid 180 second rule!!!!!!!!  mad   mad   mad


[signature removed - please be respectful]
Last edited by scimonster (1970-01-01 00:00:00)

Offline

 

#6 2011-07-21 01:15:19

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: constant varialbes

sci_test wrote:

veggieman001 wrote:

scimonster wrote:

Well, just don't change the value.  tongue

These would ensure that you don't f--err... mess up, especially without a debugger.

Meh, Scratch is supposed to give a bit of a challenge.  wink

Stupid 180 second rule!!!!!!!!  mad   mad   mad

Still, variable types would be handy, and make language transition easier.


Posts: 20000 - Show all posts

Offline

 

Board footer