flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
cod3b453 11 Nov 2012, 11:07
You can stop assembly using the err keyword:
Code: if (ObjectHashTableSize < 2) display 'Error: Object hash table size is less than 2', 13 err end if Code: assert ObjectHashTableSize < 2 |
|||
![]() |
|
Bargest 11 Nov 2012, 11:30
Thank you. First code stopped compilation even if ObjectHashTableSize > 2, but
Code: assert ObjectHashTableSize >= 2 works fine. |
|||
![]() |
|
baldr 21 Nov 2012, 16:24
Bargest wrote: ...First code stopped compilation even if ObjectHashTableSize > 2, but Code: ObjectHashTableSize = 3 if (ObjectHashTableSize < 2) display 'Error: Object hash table size is less than 2', 13 err end if Code: if (ObjectHashTableSize < 2) display 'Error: Object hash table size is less than 2', 13 err end if ObjectHashTableSize = 3 |
|||
![]() |
|
Bargest 21 Nov 2012, 16:33
baldr, thanks. First variant works good. In my source config file was included at the end.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.