flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2 |
Author |
|
JohnFound
It works great with my sources. Thank you.
![]() Please yourself, but I still think ` isn't good choice. It's good for advanced user, but as scientica wrote, newbies will have troubles with it. It simply decrease readability of the source. Not everyone using syntax highlighing. Please, think again. Regards. |
|||
![]() |
|
Yawgmoth
Yeah, ` is way, way too similar to '.
|
|||
![]() |
|
scientica
What do the fasm usesr from those contries that uses a non latin charset (e.g. China, Russia) say? is it easy to differe betwen ' and '? Are they accessible at all on the keyboard? (I just thought of this, after seeing a chinese keyboard layout)
_________________ ... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself. - Bradley Kuhn |
|||
![]() |
|
Tommy
With FasmW, it shouldn't be any problem since the AsmEdit-control highlights ' and " as strings, while ` is highlighted as a symbol....
![]() Good work Tomasz (and John)! ![]() So long! Tommy |
|||
![]() |
|
pelaillo
Yes scientica is right. IMHO it is confusing and difficult to read.
What about ~ or § or > (^ is good too)? |
|||
![]() |
|
Tomasz Grysztar
It is one of the base set of ASCII (please check in the characters table in my tutorial preliminary
![]() There is only one small problem with this feature - it is not as clear and logical in use as concatenation operator, and this also be a trouble for newbies. That is, it has to be explained clearly in documentation, that only the single word following the ` operator is converted into type of quoted string. For example, when we define such macro: Code: macro test arg { db `arg } and then use it like here: Code: test 2+2 it will end as: Code: db '2'+2 and it may be a bit confusing. |
|||
![]() |
|
HarryTuttle
and what about ::
_________________ Microsoft: brings power of yesterday to computers of today. |
|||
![]() |
|
BiDark
In my keyboard layout, It's impossible to type that char (grasp accen '~' has been used to switch the keyboard layout from Thai to English and it's hard to change and It share with that char).
|
|||
![]() |
|
scientica
Privalov wrote:
Hmm... What about: test (2+2) ? will it be: db '?' (Haven't been able to try the beta yet) _________________ ... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself. - Bradley Kuhn |
|||
![]() |
|
aaro
How about this:
After replacing symbols with their values replace all ` with ' then you could code things like: Code: macro test arg { value = arg db `arg`,'=',`value` } test 2+2 ;Will become: db '2+2','=','4' Without problems |
|||
![]() |
|
Tomasz Grysztar
At the stage when macros are preprocessed there already are no more characters like ' - quoted strings and simple words are two types of "byte streams" there, and that operator simply converts one into another.
|
|||
![]() |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.