Code Translation Project
Don't lose in a world of programming languages
Pascal
Lexical elements
Constants
Integer constants
Hexadecimal literal
Decimal literal
Floating point constants
Floatingpoint constant
Boolean constants
Logical constant - true
Logical constant - false
Comments
Multi line comment
Types and variables
Basic data types
Logical
Boolean data type
Numbers
Integers
Unsigned
8-bit unsigned integer
16-bit unsigned integer
Signed
8-bit integer
16-bit integer
32-bit integer
Real numbers
32-bit real number
64-bit real number
Type conversions
Explicit
To 8-bit integer
To 8-bit unsigned integer
To 16-bit integer
To 16-bit unsigned integer
To 32-bit integer
To 32-bit real number
To 64-bit real number
To boolean
Variables
Variable declaration
Variable use
Program structure
Statements
Expressions
Operators
Parenthesis operator
Arithmetic operators
Addition
Subtraction
Multiplication
Division
Integer division
Modulo
Additive inverse
Logical
Logical and
Logical or
Logical negation
Bitwise
Bitwise left shift
Bitwise right shift
Bitwise and
Bitwise or
Bitwise not
Bitwise xor
Relational
Less than
Greater than
Less than or equal to
Greater than or equal to
Equal to
Not equal to
Assignment
Assignment
Statements
Block statement
Loops
Loop with condition at the end until is false
Loop with condition on the beginning
Conditional statements
Conditional statement
Jump statements
Break statement
Continue statement
Increse decrease
Increment statement
Decrement statement
Pascal
.
Types and variables
.
Variables
Pascal - Variable declaration
Variable declaration is used for its creation.
variable declaration
Description
name :
type
Data:
name -
Input
type
-
data types
Compatible programing languages:
Free Pascal
|
Object Pascal
Variable declaration in another programming language:
All
Basic
FreeBASIC
Visual Basic .NET
C
C++
Visual C++ .NET
C#
Java
Pascal
Object Pascal
Free Pascal
Differences to:
Basic
FreeBASIC
Visual Basic .NET
C
C++
Visual C++ .NET
C#
Java
Languages:
en
hu
cz
sk