2015-09-29 18:04 GMT+02:00 Tobias Boege <tabo...@gmail.com>: > On Tue, 29 Sep 2015, Moviga Technologies wrote: >> >> >> Property Read {Map} As Map >> >> What are the brackets doing? > > They tell the compiler to treat the bracketed string as an identifier. This > is documented here[0]. Since there apparently is a class named "Map" already, > it might cause trouble for the parser if you call a totally unrelated symbol > also "Map". The brackets clarify the situation, although I think they're not > needed in property declarations. > > As [0] indicates, using reserved keywords of the language as identifiers > (as opposed to using already declared identifiers for different symbols) is > another place where brackets must be used. > > Regards, > Tobi > > [0] http://gambaswiki.org/wiki/lang/resident > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user
Well all is said MapView share a Map Object (class) via a .Map Property. So if you want to access to THe internal Map of MapView... In this case i need to have a property whitch have the same name as the class "Map" -- Fabien Bodard ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user