Assignment

From Mesham
Revision as of 15:47, 31 December 2009 by Polas (talk | contribs) (Created page with '==Syntax== In order to assign a value to a variable then the programmer will need to use variable assignment. [lvalue]:=[rvalue]; Where ''lvalue'' is a variable and ''rvalue''…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Syntax

In order to assign a value to a variable then the programmer will need to use variable assignment.

[lvalue]:=[rvalue];

Where lvalue is a variable and rvalue a variable or expression

Semantics

Will assign a value to a variable

Examples

var i:=4;
var j:=i;