Title here
Summary here
Go supports constants of character, string, boolean, and numeric values.
const
declares a constant value.
A const
statement can appear anywhere a var
statement can. Here’s the constant declaration and its usage within a function.
Constant expressions perform arithmetic with arbitrary precision.
A numeric constant has no type until it’s given one, such as by an explicit conversion.
A number can be given a type by using it in a context that requires one, such as a variable assignment or function call. For example, here Sin
expects a float
.
To run this UnrealScript example, compile and execute within your UnrealScript editor or engine environment.