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

#1 2012-05-18 14:47:05

alphabetti1
New Scratcher
Registered: 2012-05-18
Posts: 2

Can I use the percent sign in operators ?

Hi everyone,

Just wondering if I can use the percent sign after a number in a less than or greater than block ? E.G 20% > last reading

Thanks V Much

Mr Alphabetti

Offline

 

#2 2012-05-18 15:19:39

ManaUser
Scratcher
Registered: 2009-03-11
Posts: 100+

Re: Can I use the percent sign in operators ?

No, but if I understand right, that would be the same as:

if <(New) > ((Old) * [1.20])>
whatever


http://i.imgur.com/SPYSM.gif http://i.imgur.com/t9k1Z.gif http://i.imgur.com/OwYVa.gif http://i.imgur.com/0qlZq.gif

Offline

 

#3 2012-05-18 16:52:33

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: Can I use the percent sign in operators ?

Or this (if you mean what I interpret your post to me):

if<(0.2) > ((variable)/(100))>
script
end

Last edited by MoreGamesNow (2012-05-18 16:55:47)


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#4 2012-05-19 08:32:36

alphabetti1
New Scratcher
Registered: 2012-05-18
Posts: 2

Re: Can I use the percent sign in operators ?

Awesome, thanks alot for your help. Have a great weekend !! :-)

Offline

 

Board footer