Creating Miranda Programs

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

REVISED 13th SEPTEMBER 2012 How to create and run Miranda program on the !

omputer Science er"er #e$g %& u ing a '%untu termina( in the )a"a (a% on the 3rd *(oor o+ Erie Ha((, 1$ Sit at one o+ the '%untu termina( and (og on to the er"er u ing &our id and pa word$ 2$ !(ic- on an empt& area$ Se(ect .termina(/ +rom the drop down menu$ OR follow instructions 3 and 4 if using last years desktop 3$ In the Termina( window t&pe .nedit te t$m 0/ #without the 1uote ,$ Two new window wi(( appear2 a (arger window .te t$m/ and a ma((er window .3ew *i(e/$ The .0/ wi(( a((ow &ou to enter more command in the .Termina(/ window (ater i+ &ou want to$ 4$ !(ic- on the .3ew *i(e/ %utton #%ottom (e+t, on the 3ew *i(e window5 the window wi(( di appear5 (ea"ing the window .te t$m/ "i i%(e$ 6$ 7ou can now write a program in the .te t$m/ +i(e %& t&ping the +o((owing into the te t$m window2 he((o 8 .he((o there/ 9$ 3ow c(ic- on the .*i(e/ %utton in the te t$m window5 and choo e .Sa"e/ +rom the menu$ :$ 3ow c(ic- on the .p(ace / ta% at the top (e+t o+ &our creen5 and cho e .home +o(der/ +rom the drop down menu$ ;$ < new window wi(( appear containing &our +o(der and +i(e $ I+ thi i the +ir t time &ou ha"e u ed the & tem5 there wi(( on(& %e one +i(e ca((ed .te t$m/$ 3ow c(ic- on the icon +or the +i(e ca((ed .te t$m/$ The Miranda runtime en"ironment wi(( tart up in a new window and wi(( compi(e the program in the +i(e .te t$m/$ =$ T&pe .he((o/ into the Miranda window$ I+ &ou ha"e done e"er&thing correct(&5 then the computer wi(( re pond with .he((o there/ 10$ 7ou can now go %ac- to the editor window and add new de+inition to the +i(e .te t$m/$ *or e>amp(e5 tr& adding m&name 8 .&our name here/ 11$ Then c(ic- on .*i(e/ %utton #top (e+t o+ the editor window, and choo e .Sa"e/$ 12$ Then acti"ate the Miranda en"ironment window %& c(ic-ing on it$ Then5 to recompi(e the re"i ed +i(e t&pe .?+ @/ #without the 1uote A Thi i a 'ni>A(i-e command meaning re(oad the (a t +i(e (oaded, 13$ 3ow tr& entering .m&name/ #without 1uote ,$ 14$ Bater5 &ou wi(( (earn how to create directorie +or organiCing &our +i(e $ *or now Du t e>periment with the editor %& adding new de+inition to te t$m and running them a de cri%ed a%o"e$

You might also like