The Artima Developer Community
Sponsored Link

Java Buzz Forum
Pnuts Updates (Dynamic Modules, Bug fixes)

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
Toyokazu Tomatsu

Posts: 66
Nickname: tomatsu
Registered: Jul, 2003

Toyokazu Tomatsu is a developer of Pnuts.
Pnuts Updates (Dynamic Modules, Bug fixes) Posted: Jun 8, 2004 12:29 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Toyokazu Tomatsu.
Original Post: Pnuts Updates (Dynamic Modules, Bug fixes)
Feed Title: Pnuts Addict
Feed URL: http://pnuts.org/~tomatsu/jroller-rss.xml
Feed Description: Toyokazu Tomatsu's Weblog
Latest Java Buzz Posts
Latest Java Buzz Posts by Toyokazu Tomatsu
Latest Posts From Pnuts Addict

Advertisement
Changes in 20040521(1.0rc2, 1.1beta):

  • (1) Dynamic Modules was introduced

    For example, the following code creates a package 'p', defines a function 'add' in it, uses the package as a module, and then exports the function.

        p = createPackage()
        p.add = function (x, y) x + y
        use(p)
        p.export("add")
    
        add(2, 3) ==> 5
    

    Difference from just defining the function in a package is that the function is visible no matter what package is selected as the current package.

  • (2) Bug fixes:

Read: Pnuts Updates (Dynamic Modules, Bug fixes)

Topic: My Name is Alex and I'm Two Years Old Previous Topic   Next Topic Topic: ObjectFilter and Collections -- Why Communities are Important

Sponsored Links



Google
  Web Artima.com   

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