Lugaru's Epsilon Programmer's Editor
Context:

Previous

Up

Next

Identifiers 
Epsilon Extension Language 
Character Constants 
Epsilon User's Manual and Reference >
Epsilon Extension Language >
Lexical Rules >
Numeric Constants
The term numeric constant
collectively refers to decimal constants, octal constants, binary
constants and hex constants.
A sequence of digits is a decimal constant, unless it begins with
the digit 0. If it begins with a 0, it is an octal constant
(base 8). The characters 0x followed by a hexadecimal number are also
recognized (the digits 09 and the letters af or the letters AF
form hexadecimal numbers). These are the hex constants. The
characters 0b followed by a binary number form a binary
constant. A binary number contains only the
digits 0 and 1. Constants may contain _ characters for
readability, as in 1_000_000 ; these are ignored.
All numeric constants in EEL are of type int.
Previous

Up

Next

Identifiers 
Epsilon Extension Language 
Character Constants 
Copyright (C) 1984, 2016 Lugaru Software Ltd. All Rights Reserved.
