Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Mon Sep 19, 2016 1:14 pm Post subject: {$STRICT} , always label() your labels |
|
|
By default, CE doesn't care if you label() your labels or not. It's perfectly fine to do:
Code: |
00400500:
jmp bla
something:
jmp 00400600
bla:
jmp something
|
But, for those that don't like that, they can use the {$STRICT} line in their script.
When this line is present in your script, ce will not assume that an undefined symbol is a label, and just give you an error instead.
Keep in mind that if you do forget to label a symbol you use, and it is already defined, CE will STILL NOT give an error. So use unique symbolnames nonetheless. (e.g don't use Exit, as there is an export with that name)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|