Language construct

From Seo Wiki - Search Engine Optimization and Programming Languages

Jump to: navigation, search

A language construct is a syntactically allowable part of a program that may be formed from one or more lexical tokens in accordance with the rules of a programming language.

The term Language Constructs is often used as a synonym for control structure, and should not be confused with a function.

Examples of language constructs

In PHP, for example, print and echo are language constructs (also print is a function too):

print 'Hello world';

Is the same as:

print('Hello world');

Personal tools

Served in 0.798 secs.