How to do encode and decode in Galileo ?

 


Encoding cities and airports 

FUNCTION ID

CITY OR AIRPORT NAME

.CE

KATHMANDU

Shown above is the entry that will encode a city or airport name. The purpose of this entry is to determine the three-letter code for a specified city or airport.

The entry begins with a function identifier consisting of a full stop, followed by the letters "CE" for "city encode". This is followed by the name of the city or airport you wish to encode.

In application, the entry shown above would determine the three-letter code for all cities named "Kathmandu" and display this information on your screen.

Encoding cities and airports 

FUNCTION ID

CITY OR AIRPORT NAME

.CE

LAGUARDIA

When a city has only one airport, the airport name often reflects the city name, e.g. San Francisco International airport. When a city has multiple airports, each airport has a name distinct from the city, e.g. Heathrow airport in London, UK.

In application, the entry shown above would determine the three-letter code for the airport named "LaGuardia" and display this information on your screen.

Decoding cities and airports 

FUNCTION ID

CITY OR AIRPORT CODE

.CD

KTM

Shown above is the entry to decode a city or airport code. The purpose of this entry is to determine the name of the airport or city corresponding to the specified three-letter code and display this information on your screen.

The entry consists of the function identifier ".CD" for "city decode" and a three-letter airport or city code.

In application, the entry shown would determine the city or airport name corresponding to the code "KTM".

Encoding airlines 

FUNCTION ID

AIRLINE NAME

.AE

NEPAL AIRLINES

Shown above is the entry to encode an airline name. The purpose of this entry is to determine the two-character airline code for the airline name specified and display this information on your screen.

The entry consists of the function identifier ".AE" for "airline encode" and the name of the airline you wish to encode.

.

Decoding airlines 

FUNCTION ID

AIRLINE CODE

.AD

RA

Now shown is the entry to decode an airline code. The purpose of this entry is to determine the name of the airline that corresponds to the specified two-character airline code and display this information on your screen.

The entry consists of the function identifier ".AD" for "airline decode" and the two-character code of the airline you wish to decode.

In application, the entry shown above would determine the name of the airline that corresponds to the two-character code "RA" and display that information on your screen.

 

Decoding airlines 

FUNCTION ID

FIRST LETTER

.AD

A

Here is another entry to decode airline codes. The purpose of this entry is to determine the names of all airlines whose corresponding two-character codes begin with the character specified.

The entry consists of the function identifier ".AD" for "airline decode" and the first character of a two-character code.

In application, the entry shown above would display the names of all airlines whose two-character codes begin with the letter "A".

Encoding and decoding aircraft equipment 

FUNCTION ID

EQUIPMENT NAME

.EE

BELL

Shown above is an entry that will encode an equipment type. The purpose of this entry is to determine the three-character equipment code for the equipment type specified and display this information on your screen.

The entry consists of the function ID ".EE" for "equipment encode" and the name of the equipment you wish to encode.

In application, the entry shown above would determine the three-character code for all equipment types whose names begin with "BELL" and display this information on your screen.

FUNCTION ID

FIRST LETTER

.EE

B

Shown above is the entry to encode all equipment types starting with a specified letter.

The entry consists of the function ID ".EE" for "equipment encode" and the first letter of an equipment name.

In application, the entry shown above would determine the three-character codes for all equipment names beginning with the letter "B" and display this information on your screen.

 

FUNCTION ID

EQUIPMENT CODE

.ED

BEC

Shown above is the entry to decode a three-character equipment code. The purpose of this entry is to determine the name of the equipment corresponding to the specified three-character code and display this information on your screen.

The entry consists of the function ID ".ED" for "equipment decode" and the three-character equipment code you wish to decode.

In application, the entry shown above would determine the name corresponding to the equipment code "BEC" and display this information on your screen

FUNCTION ID

FIRST LETTER

.ED

B

Shown above is the entry to decode all equipment codes starting with a specified character.

The entry consists of the function ID ".ED" for "equipment decode" and the first character of a three-character equipment code.

In application, the entry shown above would display the names of all equipment types whose corresponding codes begin with the letter "B".

Encoding and decoding countries and states 

FUNCTION ID

COUNTRY NAME

.LE

CANADA

Shown above is an entry that will encode a country name. The purpose of this entry is to determine the two-letter code for the country specified and display this information on your screen.

The entry consists of the function ID ".LE" for "location encode" and the name of the country you wish to encode.

In application, the entry shown above would determine the two-letter code for the country named Canada.

Encoding and decoding countries and states 

FUNCTION ID

COUNTRY NAME

OBLIQUE

COUNTRY NAME

OBLIQUE

COUNTRY NAME

.LE

CANADA

/

SPAIN

/

PORTUGAL

Shown above is an entry that will encode multiple country names. The purpose of this entry is to determine the two-letter codes for the countries specified and display this information on your screen.

The entry consists of the function ID ".LE" for "location encode" and the names of the countries you wish to encode, separated by obliques.

In application, the entry shown above would determine the two-letter codes for the countries named Canada, Spain and Portugal.

 

Encoding and decoding countries and states 

FUNCTION ID

FIRST LETTER

.LE

B

Shown above is the entry to encode all countries starting with a specified letter.

The entry consists of the function ID ".LE" for "location encode" and the first letter of a country name.

In application, the entry shown above would determine the two-letter codes for all countries beginning with the letter "B" and display this information on your screen.

Encoding and decoding countries and states 

FUNCTION ID

COUNTRY CODE

.LD

GA

Shown above is the entry to decode a two-letter country code. The purpose of this entry is to determine the name of the country corresponding to the specified two-letter code and display this information on your screen.

The entry consists of the function ID ".LD" for "location decode" and the two-letter country code you wish to decode.

In application, the entry shown above would determine the name corresponding to the country code "GA" and display this information on your screen.

Encoding and decoding countries and states 

FUNCTION ID

COUNTRY CODE

.LD

GA

Shown above is the entry to decode a two-letter country code. The purpose of this entry is to determine the name of the country corresponding to the specified two-letter code and display this information on your screen.

The entry consists of the function ID ".LD" for "location decode" and the two-letter country code you wish to decode.

In application, the entry shown above would determine the name corresponding to the country code "GA" and display this information on your screen.

Encoding and decoding countries and states 

FUNCTION ID

FIRST LETTER

.LD

B

Shown above is the entry to decode all country codes starting with a specified letter.

The entry consists of the function ID ".LD" for "location decode" and the first letter of a two-letter country code.

In application, the entry shown above would display the names of all countries whose corresponding codes begin with the letter "B".

Post a Comment

0 Comments