flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > if ~defined.

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1766
Roman 28 Jul 2024, 13:58
Fasmw 1.73
Code:
if ~defined bMousing | defined @f ;without defined @f fasm compile error.
bMousing db 0
end if
    


But if i include file with another bMousing db 0.
Fasm get error bMousing already defined.

Than i do this, work, but not right:
Code:
include 'fileB.txt' ;in this file bMousing db 0
if ~defined bMousing 
bMousing db 0
end if
    
Post 28 Jul 2024, 13:58
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 28 Jul 2024, 20:02
See here.
Post 28 Jul 2024, 20:02
View user's profile Send private message Visit poster's website 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.