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

#676 2009-12-05 10:42:49

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

It would probably know better where the end of the line is will easily be done, than having it go through more work finding out how to do it for colons or semi-colons. So that is final? No on the colons and semi-colons.

big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile
big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile
big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile
big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile
big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile
big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile
big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile
big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile
big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile
big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile
big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile
big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile
big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile
big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile  big_smile

Offline

 

#677 2009-12-05 12:19:03

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Code:

say var &
say "text" &

Those are ampersands at the end of each line.

http://www.jonco48.com/blog/ampersand.jpg
(Shift + 7)

Maybe at the beginning and end of the script...

Code:

begin
say "testing. testing. 123. testing" &
end

Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#678 2009-12-05 12:20:05

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Emerald

end of line is a special character represented by "\n".
idk what's with the mood.var or var.mood thing though. Oh wait. why need other variable for answer, I mean, if we're not doing it like
answer = ask("question")
, then why bother with
ask("question", answer, yes)
thing? I mean, we can just make a global, built-in variable "answer", containing the last question's answer.


Converting my Scratch projects to Python!

Offline

 

#679 2009-12-05 14:01:25

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Emerald

Does anyone consider my thing?

Code:

ask('whatever')
answer = ask('whatever')

We just need to parse it...
Filo5, I think it's better to just have more variables, because it already is confusing in Scratch.


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#680 2009-12-05 14:27:11

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

Gersh: We don't want it more complicated than possible, we want this as simple for us and who uses Emerald.

Filo: "answer" is and will be a default variable. This is going to be as much like Scratch as possible.

Dane: What do you mean?

Offline

 

#681 2009-12-05 14:38:48

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Magnie wrote:

1. Gersh: We don't want it more complicated than possible, we want this as simple for us and who uses Emerald.

2. Filo: "answer" is and will be a default variable. This is going to be as much like Scratch as possible.

3. Dane: What do you mean?

1. I was just thinking of a way to end lines without colons OR semicolons
2. Good.
3. Asking the same thing.


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#682 2009-12-05 15:22:06

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

Greatdane wrote:

Does anyone consider my thing?

Code:

ask('whatever')
answer = ask('whatever')

We just need to parse it...
Filo5, I think it's better to just have more variables, because it already is confusing in Scratch.

If you get confused with variables, then lets have less and as Filo said, a global variable called Answer. Saves confusion, and makes it more like scratch, as we're aiming for.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#683 2009-12-05 16:36:05

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Emerald

Well, if you actually need to have multiple answer variables, you have to do it by
ask
set var1 to answer
ask
set var2 to answer
So, in Emerald it's either

Code:

ask()
var1 = answer
ask()
var2 = answer

or

Code:

var1 = ask()
var2 = ask()

This would save lots of programming.


Converting my Scratch projects to Python!

Offline

 

#684 2009-12-05 16:39:00

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

I made a little survey for you all to take. (includes non-Emerald team members, etc.)

http://spreadsheets.google.com/viewform?formkey=dE9FaWVCTjdSeW1xYklrb3ZOeUdaNnc6MA

It's about Emerald. It would really help if you took it.


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#685 2009-12-05 22:38:34

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

Filo: We're making a Text-Based Version of Scratch, not are own language that we can implement whatever we want and make it as different from Scratch as possible, if you want to make your own programming language, then do it, but we need this as close to Scratch as possible.

Gersh: I'll go add the link to the main post, and the last question "Do you think this Survey was a waste of your time?" and I selected "Yes" xD

Last edited by Magnie (2009-12-05 22:41:54)

Offline

 

#686 2009-12-06 03:25:27

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Emerald

Um... yes. The thing is, Emerald will be a step between Scratch and other programming languages, right? So, why not start to interpolating them, like:
if < length(var1) == var2 >
{
  i = 100
  repeatFor < i <= var1 >
  {
    letter(var1,i) = element(list1,i)
  }
  say(var1,3s)
}
So it is similar both to Scratch and C# or Python!


Converting my Scratch projects to Python!

Offline

 

#687 2009-12-06 14:40:49

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

filo5 wrote:

Um... yes. The thing is, Emerald will be a step between Scratch and other programming languages, right? So, why not start to interpolating them, like:
if < length(var1) == var2 >
{
  i = 100
  repeatFor < i <= var1 >
  {
    letter(var1,i) = element(list1,i)
  }
  say(var1,3s)
}
So it is similar both to Scratch and C# or Python!

Are we really need the {'s and }'s?

Id say keep it simple like in scratch, with block types bits of code, but they are indented for easy reading. Like in scratch.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#688 2009-12-07 10:14:04

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

Filo: For the last time, we are not making it harder for us, others, and me myself.

Magnie wrote:

We're making a Text-Based Version of Scratch, not are own language that we can implement whatever we want and make it as different from Scratch as possible, if you want to make your own programming language, then do it, but we need this as close to Scratch as possible.

Okay??

Offline

 

#689 2009-12-07 12:33:39

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

Magnie wrote:

Filo: For the last time, we are not making it harder for us, others, and me myself.

Magnie wrote:

We're making a Text-Based Version of Scratch, not are own language that we can implement whatever we want and make it as different from Scratch as possible, if you want to make your own programming language, then do it, but we need this as close to Scratch as possible.

Okay??

Though, will we take request for new features like the mesh and stuff?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#690 2009-12-07 14:35:48

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Emerald

Can't I just have an idea...?


Converting my Scratch projects to Python!

Offline

 

#691 2009-12-07 14:52:20

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Emerald

Lol filo5 the only think you do on scratch, is posting on this thread. No posting on anywhere else, and no making projects.


http://i.imgur.com/WBkM2QQ.png

Offline

 

#692 2009-12-07 15:20:30

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Lucario621 wrote:

Lol filo5 the only think you do on scratch, is posting on this thread. No posting on anywhere else, and no making projects.

Off topic much?

And so... your point is...


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#693 2009-12-07 15:27:57

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Emerald

gershmer wrote:

Lucario621 wrote:

Lol filo5 the only think you do on scratch, is posting on this thread. No posting on anywhere else, and no making projects.

Off topic much?

And so... your point is...

Well if he's only going to talk about stuff non-related to scratch, and just about other programming languages, then he should do it somewhere else.


http://i.imgur.com/WBkM2QQ.png

Offline

 

#694 2009-12-07 16:00:44

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Emerald

Well, thing is, I really know some more stuff than Scratch. I still enjoy making project, though. And there's school. And homework.


Converting my Scratch projects to Python!

Offline

 

#695 2009-12-07 17:13:13

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

Filo: I explained once, you asked again, and I explained again, it's not good to spam.

Offline

 

#696 2009-12-07 17:33:01

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Magnie wrote:

Filo: I explained once, you asked again, and I explained again, it's not good to spam.

When was he spamming...?

o____O


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#697 2009-12-07 18:46:24

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

By asking the same thing twice, or close to the same thing. ( I knew someone was going to ask.  wink  )

Offline

 

#698 2009-12-07 19:26:15

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Magnie wrote:

By asking the same thing twice, or close to the same thing. ( I knew someone was going to ask.  wink  )

I see...

-______-


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#699 2009-12-07 19:53:29

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: Emerald

Magnie wrote:

The coding is done in a way that it doesn't matter how you type ANYTHING, any code, anything. So you could type 'AsK' or 'aSk' and it will still do the same.

Do you know that works for the ask block ALL the time?  I've seen so many people say "this is case sensitive" but the ask block doesn't check for case sensitive.  I've tested it out.


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#700 2009-12-07 20:01:35

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Magnie, I'm thinking of writing a help manual for Emerald.

But... should I write one for Emerald 0.3, Opal 0.3, wait for Emerald 0.4, or what?


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

Board footer