How to edit or change a program in LEGAL

The "Model Editor" window is used to edit programs written in LEGAL. It is also used for error messages presentation (at the bottom part) so the user can fix the program.

    • EDIT A PROGRAM AT THE WINDOW'S TOP PART
    • SEE THE ERROR MESSAGES AT THE WINDOW'S BOTTOM PART

See next the list of reserved words used in LEGAL. See also examples of programs.

Reserved Words

The LEGAL programming language syntax can be expressed in Portuguese, English or Spanish. The tables below show the corresponding terms for reserved words in each idiom. The LEGAL programming language is case sensitive.

Types

Portuguese English Spanish Others

Tematico

Thematic

Tematico

 

Imagem

Image

Imagen

 

Numerico

Digital

Numerico

DTM, MNT

Tabela

Table

Tabla

 

Instantiation

Portuguese English Spanish

Recupere

Retrieve

Recupere

Novo

New

Nuevo

Fatiamento

Slicing

SliceTabla

Ponderacao

Weighting

Ponderacion

Reclassificacao

Reclassifying

Reclasificacion

Operations

Portuguese English Spanish Others

Pondere

Weight

Pondere

-

Fatie

Slice

Slice

-

Reclassifique

Reclassify

Reclasifique

Reclass

Fuzzyl

Fuzzyl

Fuzzyl

-

Atribua

Assign

-

-

ReclAtrib

ReclAtrib

ReclAtrib

-

MediaZonal

ZonalAverage

-

-

VariedadeZonal

ZonalVariety

-

-

FaixaZonal

ZonalRange

-

-

MaxZonal

ZonalMaximum

-

-

MinZonal

ZonalMinimum

-

-

-

While

-

-

Auxiliaries

Portuguese English Spanish Others

Categoria

Category

Categoria

 

CategoriaIni

CategoryIn

CategoriaIni

 

CategoriaFim

CategoryOut

CategoriaFim

 

Nome

Name

Nombre

 

Tipo

Type

Tipo

 

Classe

Class

Clase

 

ResolucaoX

ResX

ResolucionX,

ResX

ResolucaoY

ResY

ResolucionY,

ResY

Escala

Scale

Escala

 

Digital

Digital

Digital

 

See about LEGAL in the SPRING

See also:
How to get conceptual informations and hints.


Other options in the Main Menu