The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Amethyst 2 - Conditional Compilation for ActionScript

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Huw Collingbourne

Posts: 1254
Nickname: huw
Registered: Nov, 2006

Huw Collingbourne is Director of Technology for the Ruby In Steel IDE
Amethyst 2 - Conditional Compilation for ActionScript Posted: Apr 12, 2013 5:16 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Huw Collingbourne.
Original Post: Amethyst 2 - Conditional Compilation for ActionScript
Feed Title: Ruby In Steel
Feed URL: http://www.sapphiresteel.com/spip.php?page=backend
Feed Description: Developers' Blog of the Ruby In Steel and Amethyst (Adobe Flex) IDEs for Visual Studio
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Huw Collingbourne
Latest Posts From Ruby In Steel

Advertisement
One of the nice things about C# is that is has good conditional compilation support. ActionScript does support conditional compilation but the syntax isn't great. In Amethyst 2 we have implemented a C# like syntax for conditional compilation. Conditional compilation gives you the ability to exclude or include chunks of code at compile time. So in C#, you could say if (x) // do something else // do something else This is executed at run time and the code inside the if (...)

Read: Amethyst 2 - Conditional Compilation for ActionScript

Topic: Year Five Previous Topic   Next Topic Topic: Amethyst 2 and iOS

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use