Go to the Next or Previous section, the Detailed Contents, or the Amiga E Encyclopedia.


1.1.1 The code

Enter the following lines of code into a text editor and save it as the file `simple.e' (taking care to copy each line accurately). (Just type the characters shown, and at the end of each line press the RETURN or ENTER key.)

PROC main()
  WriteF('My first program')
ENDPROC

Don't try to do anything different to the code, yet: the case of the letters in each word is significant and the funny characters are important. If you're a real beginner you might have difficulty finding the ' character. On my GB keyboard it's on the big key in the top left-hand corner directly below the ESC key. On a US and most European keyboards it's two to the right of the L key, next to the ; key. (If you don't have your keyboard set up properly then you find that keys don't produce the same characters that are printed on them--especially when use use the shift key. In this case it will probably behave like a US keyboard, although you should really fix this and set it up properly--see the manuals that came with your Amiga.)


Go to the Next or Previous section, the Detailed Contents, or the Amiga E Encyclopedia.