Community
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Enable assert statements?

 
Post new topic   Reply to topic    Community Forum Index -> Java
View previous topic :: View next topic  
Author Message
jon80



Joined: 28 May 2009
Posts: 24

PostPosted: Tue Jun 05, 2012 5:27 pm    Post subject: Enable assert statements? Reply with quote

It would be nice if the developers of TextPad 5.4.2 decided to implement the functionality which automatically runs the following command when an assert statement is detected in the code. The option is commonly accessible through Tools > External Tools > Compile (Ctrl + 1).

Code:

class Assertion
{
   public static void main (String[] args)
   {
      int a = 5;
      assert (a != 5);
   }
}
[/code]
_________________
Jon
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Community Forum Index -> Java All times are GMT
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


Powered by phpBB