the problem was the following:
Function CreateTile (...)
variables ...
...
Tile as t_Tile
...
Tile.Name = GenerateTileName (lon, lat)
Endfunction
Function GenerateTileName (lon, lat)
variables
...
Tile as t_Tile
...
Endfunction stringName
Compiler for some reason was unable to name the same user-defined type variables, despite the fact that in the called function, this variable is not even used.
Once I removed the declaration of variables in GenerateTileName () problem immediately ended.
Now I have an optimized version of the program management couriers.
AGK 2 !