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-08 16:18:32

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

Suggestions

Post ideas for new commands here.

Mine

If (

An if block that can occupy different commands, such as math blocks and sensors.

Wait

Wait __ somany seconds.

<()+()> , <()-()> , <()*()> , <()/()>

Math booleans, can be used with If block and other boolean occupying commands


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

Offline

 

2009-10-08 16:18:32

AdBot
Advertisements

#2 2009-10-08 16:21:01

coolstuff
M30W Team
Registered: 2009-10-08
Posts: 24

Re: Suggestions

I would move this, but you didn't allow us to moderate all forums...

Offline

 

#3 2009-10-08 16:21:52

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

Re: Suggestions

I didn't? Lemme go fix that then.


- I speak IF Common -
  ~ Magnie Mozios ~

Offline

 

#4 2009-10-08 16:22:14

coolstuff
M30W Team
Registered: 2009-10-08
Posts: 24

Re: Suggestions

Actually, you didn't allow us to moderate any... We're defined as moderators, but it doesn't know that we moderate. GIVE US THE POWER!

Offline

 

#5 2009-10-08 16:22:56

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

Re: Suggestions

That is so odd.


- I speak IF Common -
  ~ Magnie Mozios ~

Offline

 

#6 2009-10-08 16:23:51

coolstuff
M30W Team
Registered: 2009-10-08
Posts: 24

Re: Suggestions

Magnie wrote:

That is so odd.

I know how to do it, if you'd make me an administrator for a few minutes, I could :)

Offline

 

#7 2009-10-08 16:23:53

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

Re: Suggestions

why should this be moved? is art of the development stage.


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

Offline

 

#8 2009-10-08 16:24:23

coolstuff
M30W Team
Registered: 2009-10-08
Posts: 24

Re: Suggestions

markyparky56 wrote:

why should this be moved? is art of the development stage.

It's also a suggestion. (Should be in the "Suggestions" forum)

Last edited by coolstuff (2009-10-08 16:24:36)

Offline

 

#9 2009-10-08 16:25:19

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

Re: Suggestions

If it's a suggestion, then it goes in suggestions, if we're developing it then we post it here.


- I speak IF Common -
  ~ Magnie Mozios ~

Offline

 

#10 2009-10-08 16:26:33

coolstuff
M30W Team
Registered: 2009-10-08
Posts: 24

Re: Suggestions

Still, if you could fix the moderator thing so we can actually do something, that would be nice :)

Offline

 

#11 2009-10-08 16:28:49

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

Re: Suggestions

coolstuff wrote:

Still, if you could fix the moderator thing so we can actually do something, that would be nice :)

We can make silent edits!


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

Offline

 

#12 2009-10-08 16:29:19

coolstuff
M30W Team
Registered: 2009-10-08
Posts: 24

Re: Suggestions

markyparky56 wrote:

coolstuff wrote:

Still, if you could fix the moderator thing so we can actually do something, that would be nice :)

We can make silent edits!

That's it, thoguh.

Offline

 

#13 2009-10-08 16:30:55

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

Re: Suggestions

I know! :D

*silent edit* :P I ment I know to Marky.


- I speak IF Common -
  ~ Magnie Mozios ~

Offline

 

#14 2009-10-08 16:32:57

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

Re: Suggestions

Ok, lets get downt o work, insted of playing around, silent editing peoples posts.


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

Offline

 

#15 2009-10-08 16:34:04

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

Re: Suggestions

I gtg anyways, please don't post to much while I'm gone. :)


- I speak IF Common -
  ~ Magnie Mozios ~

Offline

 

#16 2009-10-08 16:35:22

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

Re: Suggestions

*whispers to coolstuff* "Post like mad..."

*to magnie* Ok, buhbai


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

Offline

 

#17 2009-10-08 16:37:05

coolstuff
M30W Team
Registered: 2009-10-08
Posts: 24

Re: Suggestions

I sorta have to go, too... But I figured out how to do it! Click on our username and on the left of our profile, there's a bunch of options, one of which being "Administration." Click on that, and voila! Check all boxes and select "Update forums"

Offline

 

#18 2009-10-08 17:43:56

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

Re: Suggestions

Or, you just need to look on the bottom of the page and it should say

    Delete multiple posts
    Move topic
    Close topic
    Stick topic


- I speak IF Common -
  ~ Magnie Mozios ~

Offline

 

#19 2009-10-08 18:00:36

coolstuff
M30W Team
Registered: 2009-10-08
Posts: 24

Re: Suggestions

Magnie wrote:

Or, you just need to look on the bottom of the page and it should say

    Delete multiple posts
    Move topic
    Close topic
    Stick topic

It doesn't because you haven't done what I said :)

Offline

 

#20 2009-10-08 18:48:20

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

Re: Suggestions

I fixed it hopefully.


- I speak IF Common -
  ~ Magnie Mozios ~

Offline

 

#21 2009-10-08 19:18:53

coolstuff
M30W Team
Registered: 2009-10-08
Posts: 24

Re: Suggestions

Yeah, you did :) Thank you! Just remember than whenever you make any further forums, make sure that box is checked for both of us. Thank you! :)

Offline

 

#22 2009-10-08 21:36:15

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

Re: Suggestions

k!


- I speak IF Common -
  ~ Magnie Mozios ~

Offline

 

#23 2009-11-07 01:06:52

cds56
THE TOOOTH! THE TOOOOOOOOOOOOTH!!!!!
From: Canamadiana
Registered: 2009-11-07
Posts: 423

Re: Suggestions

EDIT: :0 that's strange. I didnt see the suggestion forum.... All I saw was this in the development forum.
Interesting, I've downloaded the Emerald source, and I suggest one thing after going over it for a while.

You should change the file extension to something more human, or two to three character. e.g. instead of .emrl you could use .emr, or to use a sort of theme, maybe .gem, because four character file extensions are awkward.

the

Code:

Wait so many seconds

addition, is possible by
A: changing a set variable by a small amount, so it reaches one in one second, going to the user inputted amount
B: most computers have a system clock. I don't know if python can access that value, but it wouldnt be pretty.
______________________________________________________

Code:

If and Endif

At the start of the program declare If as a command, and Endif.
declare a list, which will contain all of the values needed for a program's ifs
and declare the variable for storing the operators for the if command
uhhh.
in the main loop, go down until you get to where is will go and

if command.lower() == commands[3]:
    yourInput = raw_input("Insert the first value. (integer, variable, or string) : ")
         if encode4.count(recode) != 0: # Could this be confused with a Variable? If it is...
                    print "There is a Variable associated with this name."
                    while x == 0:
                        yourInput = raw_input("Do you want to insert the value of the Variable?(if no, Emerald will use string value of name) [Yes/No] ")
                        if yourInput.lower() == "yes":
                            encode3.append(encode4.index(recode))
                            encode.append("Variable")
                            x=1
                        elif yourInput.lower() == "no":
                            encode3.append("") # Say that they don't
                            encode.append(recode)
                            x=1
                        else: # The user didn't write yes or no
                            print "Invalid Input"
                    x=0
                else: # If it can't be confused with a variable...
                    encode.append(recode)
                    encode3.append("")
                program.append(command)
                encode2.append(None)
     yourInput = raw_input("What operator would you like to use? (<, >, !=, ==, <=,>=) ")
     x=0
     while x=0:
            if yourInput == "<":
               operator =

_________________________________________
I'll finish that later. My python isn't starting for some reason and it's 9:00

grr..

you should change exit, to the UNIX version, bye, it's much more user-friendly.

add "while"
add "else"
in the far far future, add lists.
maybe add the ability to declare variables and such. like you declare a variable with add variable, and redefine it with (var_name) = (value)

Last edited by cds56 (2009-11-07 01:08:58)


http://www.catb.org/esr/faqs/glider.png

Offline

 

#24 2009-11-15 09:33:55

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

Re: Suggestions

maybe you should put that code sample in a code box, so it can be read easier.


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

Offline

 

Adverts

Board footer

Powered by FluxBB
Hosted by PunBB-Hosting