Source Code - dpp/source/basic_name.dpp
Download link (right click, save as)
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
|
'basic_name.dpp - by Azure (www.pagemac.com)
'Asks the user for his name, then spits it back.
function main()
{
newvar name;
screenput "Hi there! What's your name? ";
screenin name; screen;
screenput "Hey " & name & "! Glad you're using D++!";
}
|
This code is Copyright (C) 2000-2012 PageMac Programming. Reproduction of this code must adhere to the GNU General Public License.