flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Roman
I want do like this:
Dir EQU "C:\fasm\" include Dir # "include\win32a.inc" But fasm compiled error. How fixed this trouble ? ![]() |
|||
![]() |
|
sleepsleep
have you try checking windows environment variable?
|
|||
![]() |
|
revolution
You will need to use a macro/match block to get the processing order correct.
Code: Dir EQU "C:\fasm\" match x,Dir {include x#"include\win32a.inc" } |
|||
![]() |
|
Roman
revolution
match not help. |
|||
![]() |
|
baldr
Roman,
Macrooperator # works only inside macroblock (that's the gist of what revolution had said). Show your non-working source (considering that). |
|||
![]() |
|
Roman
A write my code in first post
![]() Code: Dir EQU "C:\fasm\" include Dir # "include\win32a.inc" |
|||
![]() |
|
baldr
Roman,
Macrooperator # is not inside macroblock (i.e. { } of sorts). |
|||
![]() |
|
EaxRax
Roman
Я проверил. Всё работает. Перепиши весь код в точности, который написал revolution, себе в исходник. Пропиши правильный путь, к папке FASM. Убедись, что в папке FASM, есть папка INCLUDE. Если всё сделал правильно, то всё должно заработать. З.Ы. Прикрепил программу для теста (с папкой FASM) (100% работает). Распакуй в любую директорию и запусти файл Compile.bat, для компиляции. =================================================================== I checked. Everything works. Copy all code in accuracy, which wrote by revolution, in your source code. Prescribe the right path to the folder FASM. Make sure that the folder FASM, there is a folder INCLUDE. If you did everything correctly, then it should work. P.S. Attached to the test program (with a folder FASM) (100% working). Unzip to any directory and run the file Compile.bat, to compile.
|
|||||||||||
![]() |
|
Roman
EaxRax
На какой версии Fasm-a компилил ? |
|||
![]() |
|
baldr
Roman,
Does it matter? I've tried that approach on every fasm version I posess, from 1.62 (when match directive was introduced). Works as expected. |
|||
![]() |
|
EaxRax
Roman wrote: EaxRax |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.