Getting Started
From CodeStuff
Revision as of 02:10, 24 January 2012 by Lerc (Talk | contribs) (Created page with "Here is a simple one line program. <edcode> print("hi there"); </edcode> It has these parts. ;print : The name of the function to perform. JavaScript is case sensitive...")
Here is a simple one line program.
It has these parts.
- The name of the function to perform. JavaScript is case sensitive so
printis considered a different name toPrint - ( ... )
- brackets surrounding the parameters for the print function
- " ... "
- Quote marks surrounding some text characters
- hi there
- The text characters themselves
- ;
- a semicolon indicating the end of that part of code.
This is a slightly longer program.
But I need to change the editor to support multiple instances on the one page :-/