Re: [MSEide-MSEgui-talk] About macros and .prj
On Thursday 08 November 2018 15:29:09 fredvs wrote: > > fear that has too many side effects. > > Ha, strange... > > I did use some expandprmacros(afilename) in sourceform.openfile method and > it works like charm. > > Hum, could you explain what kind of side effects it can have ? > I don't know exactly but I have a bad feeling. If it works for you OK, but I don't want it in my code especially because MSEide already has a mechanism for initializing projects. Martin ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] About macros and .prj
On Thursday 08 November 2018 00:11:09 fredvs wrote: > About macros and .prj > > > Are you OK to enable macro-conversion at this stage too? > I fear that has too many side effects. The main program can be opened by 'Project'-'Source'. Or use the 'Project'-'Options'-'Templates'-'New Project' functionality. There macros will be expanded and files with activated 'L' column loaded in editor. Martin ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] About macros and .prj
About macros and .prj Hello Martin. I would like to create a "universal" layout file. For this I use this in the prj file: mainfile=${PROJECTNAME}.pas targetfile=${PROJECTNAME} makecommand=${ULTIBOCOMP} // from a general macro. It works like charm, just rename the .prj with same name as main file and copy it in the directory of the project. But to load by default this main file in the source-editor, I did try with this in the .prj: panel1 units= ( a=0,8245,6,Pascal Units c=1 ( file=${PROJECTNAME}.pas kind=1 a=0,8196,0,${PROJECTNAME}.pas ) ) sourcefiles=1 ${PROJECTDIR}/${PROJECTNAME}.pas But doing this, at loading of the prj, there is that error message: Unable to open file "/home/fred/test/${PROJECTDIR}/{PROJECTNAME}.pas No such file or directory. Are you OK to enable macro-conversion at this stage too? Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk