Home | Reviews | GUIpedia | Forum | Fun500
aguma | Documentation for Spark - FINALLY!Well here it is. Now you can code yer stuffs for Spark. I'll make it more easy to find commands and stuff later, but for right now it's just this. I'm working on a much easier way of coding, so try not to write the biggest MMORPG ever or whatever just yet.
Also, here's a preview of WPL (Weird Programming Language), the easier way to code for Spark:
[code]
window 50,50,300,300,"Hello World!"
button 1,20,20,100,36,"Click me"
var x
set x,5
print 20,40,x
do
loop
end
[/code]
It's subject to change, but that's the gist of it
EDIT: Oops, I forgot to attach the documentation! :P Here: [url=http://xeneth.theguiblog.com/Download/Commands.rtf]http://xeneth.theguiblog.com/Download/Commands.rtf[/url] | 2009-03-19 | 8:18 PM |
pharoah | Re:Documentation for Spark - FINALLY!One question (maybe more to follow). When you allocate ram in your scripting language and then store data to it, in what format is it stored. For example, If I say:
ALLOC8
Does that allocate 8 bytes or 8 integers? I'm assuming it is integers because your stack is all ints, right? | 2009-03-19 | 9:46 PM |
aguma | Re:Documentation for Spark - FINALLY!well first of all it would be
PUSH8
ALLOC
and secondly, it would be 8 integers; but there's another array that's global and alloc would allocate into that one, not the stack. So 'ALLOC' basically just finds a space in RAM that's 0's for as long as you tell it to...for example PUSH8/ALLOC would make it find
0
0
0
0
0
0
0
0
It's kinda hard to describe I hope that will help explain a bit... | 2009-03-19 | 9:59 PM |
pharoah | Re:Documentation for Spark - FINALLY!I get it, works like the combination of FORTH words 8 CELLS ALLOT | 2009-03-20 | 12:55 PM |
Blog
2021 Brandon Cornell