flat assembler
Message board for the users of flat assembler.

Index > Windows > Help a Newbie Out: Enviroment Variables

Author
Thread Post new topic Reply to topic
Master0fAsm



Joined: 01 Sep 2007
Posts: 11
Location: Darlington, South Carolina [USA]
Master0fAsm 04 Sep 2007, 02:21
I have put a variable (System enviroment) named "FASMINC" with the value "C:\fasmw16722\INCLUDE".

Then, in the fasmw.ini file, I've added the section:

[Enviroment]
Include=FASMINC

When I do this:

Code:
include 'win32a.inc'
    


It has the "file not found" error when I compile it.

Yet, when I do this:

Code:
include '%fasminc%\win32a.inc'
    


It works just fine.

I want to be able to just say "include 'win32a.inc'" without doing "include '%fasminc%\win32a.inc'".
Post 04 Sep 2007, 02:21
View user's profile Send private message Yahoo Messenger Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 04 Sep 2007, 02:54
Code:
[Environment]
Include = C:\fasmw16722\INCLUDE    
Post 04 Sep 2007, 02:54
View user's profile Send private message Reply with quote
Master0fAsm



Joined: 01 Sep 2007
Posts: 11
Location: Darlington, South Carolina [USA]
Master0fAsm 04 Sep 2007, 05:27
So, it's Enviro"n"ment instead of Enviroment...
Post 04 Sep 2007, 05:27
View user's profile Send private message Yahoo Messenger Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 04 Sep 2007, 14:07
Ahp, my intention actually was to show how to set the Include config, so, it works for you by just correcting the misspelling and leaving Include as "Include=FASMINC"?
Post 04 Sep 2007, 14:07
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.