Delphi Programming

  1. Home
  2. Computing & Technology
  3. Delphi Programming
RTL referenceGlossary|Tips/Tricks|FREE App/VCL|Best'O'Net|Books|Link To
 
Delphi Code Puzzle: Hello Delphi Programming World, from *User Name*
Problem: Let the user type it's name in a string variable sName. The program should output 'Hello Delphi Programming World, *sName*'.
 Delphi Code Puzzle: 001
• Start the PUZZLE
 Join the Discussion
"Post your views, comments, questions and doubts for this code puzzle."
Discuss!
 Related Resources
• More Code Puzzles

• Quizzes, Tests and Trivia

• A Beginner's Guide to Delphi Programming
 From Other Guides
• Quizzes and Tests in About Computing & Technology

   Delphi Code Puzzle: 001
Problem: Let the user type it's name in a string variable sName. The program should output 'Hello Delphi Programming World, *sName*'.

Have you solved this puzzle? Try out more Delphi Programming Code Puzzles!

   Puzzle Solving Description
This problem should be solved by using only three lines of Delphi Pascal code.

Your task is to solve this code puzzle by assembling a program code one line at a time. For each code line, your will be presented with four options. Each option represents a Delphi Pascal command. Only one line will be the correct pick - sometimes even more of them. You'll know if you've picked the correct line only when finish the puzzle.

When you reach to the end - by solving this Delphi Pascal code puzzle, you'll have the option to see whether your code can be compiled in Delphi, or not.

If the code is correct and, therefore, can be compiled, BRAVO, you've solved the puzzle.

   The solved code puzzle
This code puzle is designed to help you understand how all the code puzzles work. Here goes the code for the solved puzzle.

 Puzzle 001 solved
Declarations:

Code:

   Try the Puzzle
See if you can solve this Delphi Code Puzle: Start the PUZZLE

p.s.
Now, that you have the puzzle solved this should not be to hard :)

Have you solved this puzzle? Try out more Delphi Programming Code Puzzles!

Get informed when the next Delphi Programming Code Puzzle becomes available online, for FREE:

Subscribe to the Newsletter
Name
Email

Of course, don't forget to join the Forum where all the questions are answered and beginners are treated as experts:

Explore Delphi Programming

About.com Special Features

Delphi Programming

  1. Home
  2. Computing & Technology
  3. Delphi Programming

©2009 About.com, a part of The New York Times Company.

All rights reserved.