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

#1 2009-10-18 23:03:56

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

E Language Tutorial

Hi guys,

You might have noticed I made a programming language (E) with a developer in scratch. Many of you have been confused on how to use the developer and the E syntax. So here is the tutorial.

First, download the developer. (Click on the link in my sig.)
Second, install the developer (Sorry, only for windows)
Third, open the developer.


Basics:
Buttons (top-right):
C=Compile
H=help(in-descriptive)
N=new
R=replace
L=Loads the basic program
_______
Keys:
space=adds new line at bottom
a=adds line
r=replace line
i=insert line
d=delete line
__________
Basic syntax:

Code:

[start]
{
...
stop()
}

... is the program itself.

Variables

Code:

def varname=var value

Basic functions:

prt(print)

Code:

prt varname or text

scn(scan);use the ask block

Code:

scn varname(to store the answer) question

Example

Code:

[start]
{
def name=0
scn name What is your name?
prt Your name is:
prt name
stop()
}

Results:
It Asks What is your name? I answer fg123

Prints:
Your name is:
fg123
_______________
Try it out! Questions? Just ask.

Last edited by fg123 (2009-10-20 20:16:27)


Hai.

Offline

 

#2 2009-10-19 19:37:51

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: E Language Tutorial

Bump?


Hai.

Offline

 

#3 2009-10-20 18:43:33

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: E Language Tutorial

bump!  sad


Hai.

Offline

 

#4 2009-10-21 08:11:46

pmpavc
Scratcher
Registered: 2009-10-21
Posts: 51

Re: E Language Tutorial

I will try it,thank U.

Offline

 

#5 2009-10-21 11:03:08

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: E Language Tutorial

YAY! Someone replied!


Hai.

Offline

 

#6 2009-10-22 23:43:11

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: E Language Tutorial

Bump! I have to keep bumping??  sad


Hai.

Offline

 

#7 2009-10-23 02:07:31

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: E Language Tutorial

LOLZ it happens many times though (Bumping a given thread) . I think this is not the right place to share a commandline language as a lot of scratch proggrammers didnt even know basics of c++ so give up bumping . Btw cool


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#8 2009-10-23 11:04:50

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: E Language Tutorial

Actually, this is kind of like c(not c++). My dad says it is kinda helping people learn c. But it's cool. and thanks.


Hai.

Offline

 

#9 2009-10-24 02:16:22

67589jun
Scratcher
Registered: 2007-07-13
Posts: 1000+

Re: E Language Tutorial

I...I thought this was impossible, you'd have to use a ton of variables or infinite scripted
instances.


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

Offline

 

#10 2009-10-24 16:43:48

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: E Language Tutorial

Not exactly. I used byob so people can't see my code  tongue


Hai.

Offline

 

#11 2009-10-24 18:53:53

Dazachi
Retired Community Moderator
Registered: 2009-09-12
Posts: 1000+

Re: E Language Tutorial

Cool


Dazachi, Retired Community Moderator
May also know me as OJACheung.

Offline

 

#12 2009-10-24 19:05:17

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: E Language Tutorial

Dazachi wrote:

Cool

Thanks! Tell me what you think about it!  smile


Hai.

Offline

 

Board footer