'' examples/manual/operator/equal.bas
''
'' Example extracted from the FreeBASIC Manual
'' from topic 'Operator = (Equal)'
''
'' See Also: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgOpEqual
'' --------

Dim i As Integer = 0    '' initialization: initialise i with a value of 0
i = 420                 '' assignment: assign to i the value of 420

If (i = 69) Then        '' equation: compare the equality of the value of i and 69
	Print "serious error: i should equal 420"
	End -1
End If
