Variables

Using Operators

Variables Have Special Meaning in Journey Programming Language. Variables need not be defined also need not be assigned default value. When interpreter encounters variable it checks wheather it knows its value, if not it asks it to user.

Variables can be named similar to any identifier. When they have dot the outer variable is object and inner variable is its property. Variables can be optionally indicated with Data Type. If not default DataType is String.

Syntax

<identifier<Any number of .<identifier>>><:<DataType>>

Options

  • - identifier: Any Valid identifier containing only alphanumeric and strating with alphabetic Characteristics
  • - :DataType: Any Valid DataType proceeded with :