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

#576 2009-11-21 21:28:11

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

I just fixed the ask command on CPPE(c plus plus emerald)
I was going to post  a lenghthly post on the technical details, but i decided not to.

My main problem with print and ask is that they both can only take one word inputs, e.g(telling CPPE to print "hello world" would print hello.


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#577 2009-11-22 00:17:05

songhead95
Scratcher
Registered: 2008-03-19
Posts: 100+

Re: Emerald

cds56 wrote:

I just fixed the ask command on CPPE(c plus plus emerald)
I was going to post  a lenghthly post on the technical details, but i decided not to.

My main problem with print and ask is that they both can only take one word inputs, e.g(telling CPPE to print "hello world" would print hello.

I had the same problem when I tried to build a language of my own.

Offline

 

#578 2009-11-22 09:50:44

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

Re: Emerald

this is getting intresting... i cant wait to test CPPE out, if i can.
I could be a tester, it would give me something to do.


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

 

#579 2009-11-22 11:05:14

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

Re: Emerald

Did I miss something...?

Well, I'm not very good at C++. And as for Emerald+ Editor, there's a major problem... Looks like I'll have to do entire thing again, because of a faulty control. I had to delete the main form, with all the code.


Converting my Scratch projects to Python!

Offline

 

#580 2009-11-22 11:08:59

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

Okay, I'll make sure to, erm, add you in the readme if you'd like.

And, songhead, were you writing it in C++?


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#581 2009-11-22 13:47:35

songhead95
Scratcher
Registered: 2008-03-19
Posts: 100+

Re: Emerald

cds56 wrote:

Okay, I'll make sure to, erm, add you in the readme if you'd like.

And, songhead, were you writing it in C++?

no I was using C, but I understand they have similar ways of interpreting text. I was unable to fix the problem.

Offline

 

#582 2009-11-22 14:13:47

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

ahem. okay. I sort of fixed it.
the original code for print used

Code:

cin >> ddb3[line];

cin is a way to get input from the user(hence C input) and puts it in the array ddb3, at the current line #. but that had the problem of being limited to one word.
so,  I googled it, and found an answer.

Code:

getline (cin, ddb3[line]);

which is the same except cin and ddb3 are arguments in getline.

you know that most of the commands in C still work in C++.
e.g. printf("blablabla\n");
which would print blablabla and a new line.
Okay, back to getline, getline works, but when used, it doesn't wait for the user to answer and goes right to the next code, although the test program that I wrote, waits for the user's input, so I'll have to examine it further.


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#583 2009-11-22 14:16:01

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

Re: Emerald

Im checking out ruby, the programing language, im not sure about it, but it might come in handy for something.


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

 

#584 2009-11-22 14:16:56

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

Re: Emerald

Look guys I really don't know what to do...

I have tried everything...

you don't accept.  sad


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

Offline

 

#585 2009-11-22 14:37:28

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

don't accept what?
OH! yeah, and I'm beginning to update print! It now has the ability to check if the input is a variable.
(but since i haven't programmed variables yet, but the array is still there, if you enter print, and enter a blank, it will ask you whether you want to print the value of the variable or not.)

and getline is meaaaaaaan


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#586 2009-11-22 14:50:22

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

Re: Emerald

They don't accept what I try to do. PythonCard, demos, everything and its just a big:

We aren't doing that!


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

Offline

 

#587 2009-11-22 14:53:24

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

Re: Emerald

Greatdane wrote:

Look guys I really don't know what to do...

I have tried everything...

you don't accept.  sad

We accepted PythonCard/wxPython-based Emerald we just needed more to it.
(It was just a notepad with a line counter)


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

Offline

 

#588 2009-11-22 16:43:46

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

Re: Emerald

What do you need more? Isn't that what you asked for?


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

Offline

 

#589 2009-11-22 17:50:19

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

Re: Emerald

Greatdane wrote:

What do you need more? Isn't that what you asked for?

We'll also need:
-Saving
-Opening

Then, you will have successfully created an alpha version of EmeraldEasy:
a simple project editor; rather than the complex Emerald+ Editor (originally codenamed Diamond)


Creating an alpha version of EmeraldEasy (that we accept, then its just opinion, ex. if we end up thinking that C++ Emerald by cds56 better), should get you on the team, in my honest opinion.


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

Offline

 

#590 2009-11-22 19:00:08

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

Re: Emerald

I'm checking out the language Euphoria, too.

http://www.rapideuphoria.com/index.html


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

Offline

 

#591 2009-11-22 20:53:08

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

Re: Emerald

Okay, forget Euphoria. I've found Visual C# to be much easier.

I've been working on a GUI-ish thing for an Emerald Basic Editor.

Download it here

Note:

-This is just me playing around with Visual C#, it isn't anywhere near close to done
-You have to uninstall it via Add and Remove Programs, there is no uninstaller
-Click "Setup.exe" (after unzipping) to install.

And (sorry Magnie) this for Windows.


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

Offline

 

#592 2009-11-23 10:06:24

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

Re: Emerald

Anyone here know Perl? I found that it is REALLY similar to Python, and my Dad programs in it for work, and it seems he can view it on the browser, so we could work in that, or I could.  tongue

Offline

 

#593 2009-11-23 12:10:58

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

Re: Emerald

im not gonna use emerald, its too confusing, but there is a feature that alows you to program in many diffrent languages, i think... anyway! back to learning java.

edit: ill check out perl.

UPDATE: Perl looks super simple! though how we could use it with emerald, i have no idea. any ideas? It looks easy to learn.

Last edited by markyparky56 (2009-11-23 12:22:25)


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

 

#594 2009-11-23 14:22:55

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

Shouldn't we be focusing on deciding what we're going to use as the main language?
I personally think a good idea would be a C# interface with a command line that pops up when you need to run stuff. then closes.


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#595 2009-11-23 14:24:15

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

That could easily be done with C++ too, but I don't know how much C# anyone knows, and I know how much C++ I know,

I just don't know much C#


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#596 2009-11-23 14:29:58

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

Re: Emerald

gershmer wrote:

FTP now setup. (Yay!!!)

User: emeraldteam
Password: Diamond1

(case sensitive)


Windows Tutorial
1.Download the Program WinSCP
2.
http://gershmer.net/ftpwin.png


Mac Tutorial
1.Download the Program CyberDuck
2.
http://gershmer.net/ftpmac.png

(note that the Mac setup may be wrong)

When you log on, you will be in the directory http://gershmer.net/emeraldteam
Your client will forbid you to go up to http://gershmer.net/
You, however, can make subfolders.
To make sure your files work:
1.Open a web browser
2.Type in http://gershmer.net/emeraldteam DO NOT PRESS ENTER YET
3.Continue typing the path of your file from there (ex. /emerald.py, /samples/1.emrld, etc)

I can't login, it keeps timing out, what could i be doing wrong?


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

 

#597 2009-11-23 16:57:09

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

C sharp is KEWL. I just started, and it's syntax is very similar to that of C++, so I was able to adapt quickly. I'm hoping to be learning GUIs soon.

btw, anyone heard of Blitz3d?(blitz basic?)


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#598 2009-11-23 17:24:56

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

Re: Emerald

markyparky56 wrote:

I can't login, it keeps timing out, what could i be doing wrong?

Does it look exactly like the picture?

It works for me...

Here's another method:

-Open My Computer
-Type in the address bar: ftp://gershmer.net
-Login

This is a sure fire way.


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

Offline

 

#599 2009-11-24 06:38:43

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: Emerald

I tried logging in, because I'm curious. and it worked, just from FAHRFAWKS. but there was nothing there that I didn't have already, with the exception of the sample stuff.

remember, It's case sensitive. If scp doesnt work, you could try Filezilla, that's my personal favorite.


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#600 2009-11-24 11:27:43

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

Re: Emerald

That worked, but how do i do anything from that page?


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

 

Board footer