[M3devel] INSTALL_ROOT and PKG_USE in cm3.cfg
Olaf Wagner
wagner at elegosoft.com
Fri Jan 25 11:23:10 CET 2008
Quoting Jay <jayk123 at hotmail.com>:
> I have seen path() return empty with some older builds, but not with
> current builds.
> Where I have seen it, I added in if defined() to cope and something
> more that I forget, maybe just the "normal" thing, like to bootstrap
> from an older build, and it gets overwritten during the bootstrap,
> once there is a current cm3.exe. I should check, I should check the
> history, and consistently workaround for all the files with this
> construct (ie. config-no-install and NT386).
>
> The documentation says it returns the path or directory of cm3.exe.
> But I did find that to be false, but the function is still useful.
> It seems to return the path of the current Quake code. I haven't
> looked at the implementation (yet).
Where did you read that?
http://modula3.elegosoft.com/cm3/doc/help/cm3/quake.html says
path() Returns the directory of the currently executing file as a string
Olaf
--
Olaf Wagner -- elego Software Solutions GmbH
Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
More information about the M3devel
mailing list