It is currently Sat Nov 28, 2020 12:44 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Warning Level
PostPosted: Thu Mar 12, 2020 10:56 am 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 13, 2010 3:45 pm
Posts: 1143
In the Preferences and Compiler Options I can make settings for the 'Warning Level':
  • File > Preferences > Debugger > Choose Warning Level
  • Compiler > Compiler Options > Compile/Run > Use Warning mode

Does this have anything to do with the warning I get with the command CreateGadgetList(0)? I can change all the above settings, but nothing changes.

What do I really set with this?

_________________
sorry for my bad english


Top
 Profile  
Reply with quote  
 Post subject: Re: Warning Level
PostPosted: Thu Mar 12, 2020 11:06 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Jul 23, 2011 1:13 am
Posts: 304
Location: Germany
I tried with this code

Code:
LoadImage(0, "c:\bild.bmp") ;this file doesn't exist, obviously


This gets either no marking at all (ignore warnings)
Gets a blue-backed "!" next to the line number (blue is dependent on the color settings, it may be yellow or whatever depending on your color scheme)
Gets an error blob next to the line number and the programm halts with an error warning in the "status box" (lower part of the IDE).

CreateGadgetList() is a depracated function and should be removed. This is a different type of warning.


Top
 Profile  
Reply with quote  
 Post subject: Re: Warning Level
PostPosted: Thu Mar 12, 2020 11:46 am 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 13, 2010 3:45 pm
Posts: 1143
All right, I was thinking too complicated :D

I used CreateGadgetList() because it is the only function I could think of that opens this warning window.

Thanks

_________________
sorry for my bad english


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye