Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


{$STRICT} , always label() your labels

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials -> Auto Assembler tutorials
View previous topic :: View next topic  
Author Message
Dark Byte
Site Admin
Reputation: 332

Joined: 09 May 2003
Posts: 19642
Location: The netherlands

PostPosted: Mon Sep 19, 2016 1:14 pm    Post subject: {$STRICT} , always label() your labels Reply with quote

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.
Back to top
View user's profile Send private message MSN Messenger
STN
I post too much
Reputation: 31

Joined: 09 Nov 2005
Posts: 2345

PostPosted: Thu Nov 03, 2016 12:13 am    Post subject: Reply with quote

Thank you for this topic! Saved me hours

PS: CE needs more documentation

_________________
Cheat Requests/Tables- Fearless Cheat Engine
http://fearlessrevolution.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials -> Auto Assembler tutorials All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites