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

#1 2009-08-07 19:54:47

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

ScratchText 2.1

Yes, ScratchText is back...  smile

This time it is better than ever, and I have included Paddle2See's Command line calculator (Thank you!)

I have released it! Click here to see it!

Latest version: ScratchText 2.1 [Alpha 2]

Progress:
8/7/09: Incorporated Command line calculator and fixed a couple of things.
8/8/09: Made a "random number" function, finished the "goto" command", and made "break" function. Finished "if" function. Everything is working perfectly, almost ready to be uploaded. UPLOADED!
8/16/09: Added > command prompt, optimization. Save and load commands now work like this: save FILE and load FILE

How to stop a program: Press Q, U, I, and T at the same time.

IMPORTANT: > must be added to the front of commands for them to have any effect upon the program. If it is done without this, the command will run immediately.

Commands:
   print "TEXT" : prints a string.
   print NUMBERS & VARIABLES : Prints numbers and variables.
   input VARIABLE : Lets you input a value for a variable.
   set VARIABLE=NUMBERS & VARIABLES : Sets a variable to numbers and variables.
   set VARIABLE="TEXT" : Sets a variable to text.
   end : Ends the program. NEEDED!
   wait TIME : Waits for the specified amount of seconds.
   goto LINE : Goes to a certain line in the program.
   if NUMBERS & VARIABLES=NUMBERS & VARIABLES : Does this if the numbers and variables equal the other numbers and variables.
   else : Does this if the above is not true.
   endif: ends the if.
   ; : IMPORTANT: Add this to the end of a line to join it to the line below.

Code:

print "Hello, ";
print "player"

produces

Code:

Hello, player

run : runs the current program.
   edit LINE : Allows you to edit the specified line.
   delete LINE : Deletes the specified line.
   insert LINE : Inserts a command at the specified place.
   save : Allows you to save your program. ONLY WORKS WHEN DOWNLOADED. MUST SAVE YOUR PROGRAM USING THIS COMMAND THEN SAVE SCRATCHTEXT.
   load FILE : Allows you to load a program stored in ScratchText.
   clear FILE : Clears the console.
VARIABLES
Presets are:
random : produces a random number between the random_min and the random_max.
random_min : The minimum value of a random number.
random_max : The maximum value of a random number.

NOTE: To permanently save a program, right or command-click on the console list and select export, then the save destination, then save. To load this program, instead of selecting export select import... and choose your file. MAKE SURE TO NAME IT.

PRESET PROGRAMS:
Math

How to load:

Code:

load
(enter)
Math
(enter)
run
(enter)

Last edited by The-Whiz (2009-08-23 20:30:53)

Offline

 

#2 2009-08-08 19:31:42

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: ScratchText 2.1

Here's the link: http://scratch.mit.edu/projects/The-Whiz/640008

Offline

 

#3 2009-08-08 23:05:20

greenflash
Scratcher
Registered: 2009-05-27
Posts: 1000+

Re: ScratchText 2.1

That's pretty awesome.  smile


http://i48.tinypic.com/2wrkirk.pnghttp://i46.tinypic.com/6r5zk7.pnghttp://i45.tinypic.com/2vtxr1t.png

Offline

 

#4 2009-08-13 11:12:51

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: ScratchText 2.1

Thanks!

New version out! Click here!

Offline

 

#5 2009-08-16 15:45:39

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: ScratchText 2.1

Another new version here.

Offline

 

#6 2009-08-23 20:31:14

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: ScratchText 2.1

Offline

 

#7 2009-08-27 14:17:40

DarthPickley
Scratcher
Registered: 2008-06-13
Posts: 100+

Re: ScratchText 2.1

very interesting. for all of the applicable fields (or whatever the terminology is) are you able to replace 'numex' with 'exprex' (use an expression instead of a number), like for 'wait' and for stuff like that?

Offline

 

#8 2009-08-27 14:30:49

DarthPickley
Scratcher
Registered: 2008-06-13
Posts: 100+

Re: ScratchText 2.1

I don't like the way that when you have entered a line of code (a command) it runs the command automatically. It is annoying. Also, you should be able to have comments, like

Code:

print "Hello, "; name
! greets using name

Offline

 

#9 2009-08-27 14:34:30

DarthPickley
Scratcher
Registered: 2008-06-13
Posts: 100+

Re: ScratchText 2.1

how do you keep it from doing that? (running a line of code each time you write a new line of code) it is so annoying!

Offline

 

#10 2009-08-27 14:37:47

DarthPickley
Scratcher
Registered: 2008-06-13
Posts: 100+

Re: ScratchText 2.1

other than modifying the scripts I mean.

Offline

 

#11 2009-08-27 14:40:43

DarthPickley
Scratcher
Registered: 2008-06-13
Posts: 100+

Re: ScratchText 2.1

and I put "end" at the end of the program and it said "program end not specified"! it is either really glitchy or I have no idea how to use this project.

Offline

 

#12 2009-09-13 01:40:29

tcb
Scratcher
Registered: 2008-03-25
Posts: 100+

Re: ScratchText 2.1

DarthPickley wrote:

and I put "end" at the end of the program and it said "program end not specified"! it is either really glitchy or I have no idea how to use this project.

I think your supposed to put > at the beggining of the line.


http://goo.gl/eCQLihttp://goo.gl/sK54shttp://goo.gl/jC0dehttp://goo.gl/yhGLQhttp://goo.gl/wqvsQ

Offline

 

#13 2009-09-13 14:17:05

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

Re: ScratchText 2.1

Interesting, how does it work?


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

Offline

 

Board footer