Using Windows, Flowcode 6.1.
Where can I see the current value of an assembler variable such as 'outdir'.
Also, where in Flowcode are such variables' values set/mapped/changed?
Assembler variable values such as 'outdir'
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Assembler variable values such as 'outdir'
Hello,
If you go to View -> Global options -> Locations tab then there are drop down arrows that show you the internal variables.
I'm not sure where the $(outdir) is set (probably a registry key) but the $(srcdir) and $(appdir) are the two we use a lot for components, compilation etc.
If you go to View -> Global options -> Locations tab then there are drop down arrows that show you the internal variables.
I'm not sure where the $(outdir) is set (probably a registry key) but the $(srcdir) and $(appdir) are the two we use a lot for components, compilation etc.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 69
- Joined: Mon Mar 23, 2015 5:34 am
- Has thanked: 30 times
- Been thanked: 15 times
- Contact:
Re: Assembler variable values such as 'outdir'
Thanks for the lightning quick reply!
I don't recall setting my outdir value, unless it was done during initial installation?
Reason I ask is that I was using a friend's FC V6 implementation today and the hex file was being written into some bizarre windows temp directory. I have no idea how that came about and neither does he.
Surely there must be an easy way of changing that variable's assignment?
I don't recall setting my outdir value, unless it was done during initial installation?
Reason I ask is that I was using a friend's FC V6 implementation today and the hex file was being written into some bizarre windows temp directory. I have no idea how that came about and neither does he.
Surely there must be an easy way of changing that variable's assignment?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Assembler variable values such as 'outdir'
Hello,
Ok can you check the View -> Project Options -> Locations Tab.
The Send Compiler Output To should be set to
$(srcdir)
This should set the $(outdir) variable to equal your Flowcode project directory when you compile.
Let me know how you get on.
Ok can you check the View -> Project Options -> Locations Tab.
The Send Compiler Output To should be set to
$(srcdir)
This should set the $(outdir) variable to equal your Flowcode project directory when you compile.
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 69
- Joined: Mon Mar 23, 2015 5:34 am
- Has thanked: 30 times
- Been thanked: 15 times
- Contact:
Re: Assembler variable values such as 'outdir'
I take it you mean View -> Global Options -> Locations Tab (as before).
So, one uses the "..." button to select the desired directory. I'll try that when I next have access to his machine.
So, one uses the "..." button to select the desired directory. I'll try that when I next have access to his machine.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Assembler variable values such as 'outdir'
Yes sorry, I should look at things rather then using my memoryI take it you mean View -> Global Options -> Locations Tab (as before).
![Very Happy :D](./images/smilies/icon_biggrin.gif)
No you shouldn't have to do this for every project. If you type in the value $(srcdir) then this should default to your project directory and will change dynamically as you load different projects.So, one uses the "..." button to select the desired directory. I'll try that when I next have access to his machine.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel