Le Dimanche 23 Février 2003 08:08, Prof A Olowofoyeku (The African Chief) a écrit :
I think having two "cmdline"s is likely to cause confusion - but I guess that if one doesn't use the GPC system unit then there should be no problem in having another cmdline somewhere else.
It could be done in a unit: if one wants it, adding uses cmdline or something like that could do the trick. The external file would be read during the initialisation of the unit. The unit should contain the actual line or file or string and maybe one or several wrapper functions getcmdline, rereadcmdline ... Some choices have to be done: either the line or file is in the interface, and one gets the behavior described by CB Falconer, or it is in the implementation only (no name conflicts then) and only the wrapper functions are in the interface.