coolstuff wrote:
Magnie wrote:
I have no idea how I survive. I see computers with 100+ GB of space, mind if I use one of the flash drives, how else will I get C and all those other programming languages, just put the flash drive on the network so I can access them. lol If you could really do that... But if you do, mind having them on already, as I have no idea how to get it on there.
Hehe, our new computer has 600GB. Talk about a lot of space!
However, before we got this computer (mid-September) we only had 10GB of space, I didn't have admin privs and my parents had really tightened security (they could track everything I was doing on the internet - or so they claimed -, as if I was going to do anything inappropriate) and it took AT LEAST 30 minutes to start up, log in, and open up the internet. I'm so glad we got a new computer
Hey I have a 500GB internal drive in a LAPTOP and me and my brother share a 1 TERABYTE external drive
Offline
Oh, I'm so left out, you guys have all the space.
Offline
Iv got 70.3GB on mine
Offline
Okay, *is on chat*
Offline
( How in the world do you guys get so much space )
GreatDane: Have you visited the forums yet? On the top there is the latest version, but currently Floppy is trying to upload 0.3 (Graphics I'm so happy!!!!!!) so you should wait until then, we currently just need graphics, so if you can't do graphics then, sorry, but there isn't much you can do.
Offline
OOOOOOOOOOOOOH!!! Graphics? how much, and what do they look like?!
Offline
Marky: It doesn't work, you can't run any program at all.
Filo: Now time to get Coolstuff movin'
Offline
NOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!!!!!!!!!!!!!!!! that suxs...
Offline
Well, that was the 0.3 floppy uploaded, so we will wait till fixed. And besides, no commands were added or ANYTHING but a screen.
Offline
Ok... toobad... keep up the work guys!
Offline
I'm not sure how we're supposed to add Diamond to Emerald...
Offline
Just make it,
If code = "Run" execute dimond.exe end if = (What ever you want it to end)
Offline
So wait,your Magnie? Or Magnie's your sis
Offline
Marky: And I'm not sure how to do that.
Pro: I'm Magnie, and I have no idea how you thought that, please explain?
Offline
Magnie wrote:
Pro: I'm Magnie, and I have no idea how you thought that, please explain?
Yeah. Me neither.
Offline
ok, back on topic here.
Offline
Marky, I'm never seeing you on the Emerald Forums...
Offline
Diamond is an external editor for Emerald scripts. It's written in C#, and it's only for windows. Why was I asking for plain text support? Because pickles-generated file looks like this:
("a"
"b"
"c"
.NaNaNa(
"a"
"b"
"c"
And it'd be much better when it's plaintext, eg.
print
A text to print
So that's why I was asking you to build in functions reading and writing Emerald scripts as plaintext. It could look like this:
!EMERALD VERSION 0.3 !!name=Script name !!author=Script author #variable=value #another_variable=another value print Hi there. I'm an Emerald script. wait 2 ask Do you like me? (Please answer yes or no) variable print So, you... if <variable = yes> { print ..like... } else { print ..don't like... } print Bye then! end
XML would be even better but oh well. And, it's really based on ribbon interface, although there's still a "normal" window bar (I mean ribbons are inside a window).
Offline
That looks a lot easier.
Offline
Yep, this way you can program without the need of Emerald, you only need Emerald to run it.
Offline
Here's my code. I guess I shouldnt've done this, but ah well.
import pickle print "Emerald 0.1 by Greatdane" #Header print "Commands:" #Commands print "view- View list" print "quit- Quit" print "help- Help" global run global commands run = 1 #Variables commands = [] #Command list variables = [] #Program Variables variableValue = [] #Program variable values yno1 = raw_input("Would you like to load a program? y/n ") if yno1 == 'y': tfile = raw_input("Which file? ") pfile = open(tfile, 'r') pfll = pickle.load(pfile) commands = [pfll] pfile.close() while run == 1: #Main loop tinput = raw_input(">>> ") #Checking for input if tinput == "quit": #Quit? print ">>>x" run = 0 elif tinput == "view": #View? print ">>> " + str(commands) elif tinput == "help": #Help? print ">>>[" print "Just type commands to program. More functionality coming soon!" print "Commands" print "view- View list" print "quit- Guit" print "help- Help" print "]" else: commands.append(tinput)
Is there anything wrong with it? I get an error. It's not complete yet.
Offline