M30W Programming Forum

M30W is a text-based version of Scratch

You are not logged in.

Announcement

This is the development forum for M30W (also known as Emerald, do not confuse with Emerald Programming Language).
Our Non-development forums are available here

M30W(Emerald) 0.3 is out! (Download) Requires Python 2.6 or higher.
Opal 0.3(A better command line M30W) is out! (Download) Requires Python 2.6 or higher.
M30W 0.3.6 GUI barebones (Download) Requires Python 2.6 or higher and wxPython
Diamond-2 RED2 GUI Barebones (Fancy M30W editor) s out! (Download) Requires .NET Framework 3.5 or higher, does not require Python
M30W++ GUI barebones (Java M30W) Alpha 1 is out! (Download) Requires Java.


Gershmer.net, our hosting, will close in February 2011. We have not fully decided what to do with our hosting after that, but we will tell you when we decide.

Adverts

Adverts

#1 2009-10-17 20:03:14

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

A suggestion...

I suggest that variables should be able to be modified in ways other then the ask command.

Purpose:

so we can modify variables when we accomplish this:

gershmer on scratch.mit.edu wrote:

Code:

Share ask
Share print
Share variables
'creates shared variables. they show up in sensor board block

The scratch code would look something like this:
http://gershmer.net/emeralds.PNG

To sum it up: add "set" command.




One more suggestion, actually.

Create a command to join strings.

(beforehand, ask and log 2 questions, or use the unmade "set" command)

Code:

Type a command: join
Which 2 Variables to Join? (Separate with semicolon) : Answer1;Answer2
Save new joined string as variable: Answer3
Type a command: print
What should your program print? Answer3

http://card.ly/images/vcard-green-small.png

Offline

 

2009-10-17 20:03:14

AdBot
Advertisements

#2 2009-10-18 03:16:57

Magnie
> I am Ninja! <
From: Polaris, the planet
Registered: 2009-10-08
Posts: 321
Website

Re: A suggestion...

1. You're right, we need this.
2. I guess but it would have to be like this:

Code:

Type a command: ask
What would you like to ask? What's your name? 
What variable should this be associated with? Name
Would you like to make this variable? yes
Type a command: join
First string or variable: Hi 
Second string or variable: Name

Shows...

Code:

What's your name? Magnie
Hi Magnie

- I speak IF Common -
  ~ Magnie Mozios ~

Offline

 

#3 2009-11-15 09:36:49

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: A suggestion...

i like this idea, it would be really good if this was implemented (sp?)


I am A M30Wr.
I always get the last word.

Offline

 

#4 2009-12-05 19:40:34

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: A suggestion...

Some of this was recently achieved in Opal 0.3, I believe.


http://card.ly/images/vcard-green-small.png

Offline

 

#5 2009-12-05 19:48:37

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: A suggestion...

thats good


I am A M30Wr.
I always get the last word.

Offline

 

#6 2009-12-05 19:52:14

The-Whiz
Opal Creator
Registered: 2009-11-29
Posts: 48

Re: A suggestion...

Yeah, Opal 0.3 has that now...


Creator of Opal

Offline

 

#7 2009-12-17 18:55:17

floppy_gunk
I Am Your Father.
From: Earth, The Milky Way (I think)
Registered: 2009-10-08
Posts: 186
Website

Re: A suggestion...

Nice! These are some very useful features!


Big Bob bites black bugs, but black bugs bite Big Bob back.

Offline

 

Adverts

Board footer

Powered by FluxBB
Hosted by PunBB-Hosting