Wednesday, February 2, 2011

Programming Editor
Hello Programmers! This week we are looking at how to use attributes in VB.NET. We are also looking at examples of using switch in JavaScript, and how to sort a generic list using anonymous in Delphi. We also look at Oracle discontinuing Rails support in NetBeans 7.0. Have a great week! Using Attributes in VB.NET You see them frequently, especially in more advanced code examples that you might copy out for your own use. SerializableAttribute is one of the most common: ' Instances of this class ' need to be serialized _ Public Class theClass ' Code in the class End Class Oracle Discontinue Rails Support in NetBeans 7.0 Oracle has discontinued support of Ruby on Rails in the upcoming NetBeans 7.0 IDE. Despite being primarily a Java IDE, it did feature support for Ruby and Ruby on Rails, both with jRuby and MRI. However, in order to focus their efforts on making NetBeans 7.0 a better Java IDE, Oracle has decided to drop Ruby on Rails support. Switch In the eleventh "JavaScript by Example" we look at an alternative way we can get JavaScript to make decisions. A switch statement allows us to easily check one field for different values and have it perform different processing for each different value. See More About: javascript tutorial example javascript Sort a Generic Delphi List using an Anonymous Delphi 2009 adds Generics and Anonymous methods to the Delphi language. When you have objects in some list - one of a commonly required tasks is to sort the list: either ascending, descending or using some list-specific algorithm. Using anonymous methods you can apply the sorting function directly "inline" with the call to the Sort method.

No comments:

Post a Comment