[fpc-devel] Namespaces like URLs
fpc at mfriebe.de
Tue Jul 27 04:06:40 CEST 2010
On 27/07/2010 02:48, Adem wrote:
> On 2010-07-27 4:14 AM, Martin wrote:
>>> And, it seem you did not read the rest of my post (including the
>>> first one with this subject line) :)
>> I am with Graeme on this one, as in I do not see what you may have
>> written, that solved the above....
>> To be sure: this mail ?:
>> where does it solve that if I write a unit with this lazarus
>> namespace (my installation)
> Let's call that a local URL/URI.
> You would make a not of that in a cfg file --either a global one, or
> per project.
You mean as in a namespace to path translation?
so I write in my cfg
C:\laz_svn\ = C:\lazarus
Then why have the namespace identifiers in the source look like a path
on disk at all? Why not all make them symbolic?
It doesn't have to be a single word like in my other mail thread (so I
still prefer that) => it could be fpc.core.rtl
Mind if used in "uses foo *in* 'namespace' " => iot's a string, so dot,
slash you name it, whatever you like
>> will work on a default windows install; not to speak a linux system.
>> The path depends on the system.
> Yes. And, as long as you're working on it on a single machine and not
> intending to move to another machine, that solution is fine.
Wrong, As I said I have 4 diff installations, and I move stuff between them
See my other thread => I never need to make a change, once I set it up
=> butif the path is in the pascal source, I keep having to change stuff
More information about the fpc-devel