Webdesign Glossary - Syntax

Syntax is a linguistic word that refers to the rules for how to structure words into sentences. As such it isn't specifically a computer term, but the word is still used frequently when discussing programming of any kind. When people talk about the syntax of a programming language, they're referring to the specific ways in which you structure and compose your code within that language.

Example: The syntax for how to write the word "Hello" to the screen might in one programming language look like this:

print "Hello!"

...while in another it looks like this, even though the effect is the same:

echo 'Hello!';




Back to the Web Glossary index
www.eagleowl.se      Phone: 026-16 13 61      E-mail: robert@eagleowl.se
All content ©2012 EagleOwl