Ali 2004 Course

Wednesday 9th October 2013

Hello world program

lesson aims:

By the end of this lesson you will be able to make a program in notepad and learn how to evaluate it.

……………….

task one:

Make a hello world program using the basic programing dictionary 1.

For example …

@Echooff
Echo Hello word
end

Ok so let’s evalute this program ..

@Echooff
Echo Hello word The problem with this code is the fact that it will close almost instantly.
end

So we can improve …….

By adding a pause in to the program to stop it closing

@Echooff
Echo Hello word
pause
end

Now we can use basic programing dictionary 1.2

@Echooff
Echo Hello word
pause
end

we can improve this by adding a clear command.

@Echooff
Echo Hello word
pause
cls
end

task one extension:

open a microsoft word page and Evaluate your program.

Using the evalution like above..
………………………………….

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s