i know, what i can make with well selected names. i never have problems with names of variables and so on, because i use global variables only if there is no other way.
actually i'm writing a program, witch creates pb-code from typelibs. in this code are many interfaces, which later used by the programmer. since pb 4.5 you have the help for interfaces in the statusbar and i want to give the programmer the maximum of informations about needed parameters. ok, there are many ways to do that, but i don't know the name of the parameter, because the name comes from the typelib. i didn't want to change the name of the parameter, so i thought, i give some informations in the type of the parameter (i.e.
AnyParameterName.date) and change this information to a nativ type by macro. the same for example for unsigned longs
so i have a problem, because i can't say to the programmer, don't use the name 'date' in your code. if i can stop my macro at the end of my pbi-file, there is no problem. i'm not a programmer of compilers, but imho, the compiler has a 'list' of macros and when it see the
MacroOff statement, the compiler is deleting the macro from the 'list'. maybe it's not a quantity of work to implement this function.