Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Bug of Units-package in combination with DynamicModule

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89971] Bug of Units-package in combination with DynamicModule
  • From: Hannes Kessler <HannesKessler at hushmail.com>
  • Date: Wed, 25 Jun 2008 06:29:28 -0400 (EDT)

Hello,

the following DynamicModule loads the Units`-package:

Needs["Units`"];
DynamicModule[{a = 10}, {PopupMenu[Dynamic[a], {10, 20}], Dynamic[a]},
Initialization :> Needs["Units`"]]

After closing the notebook, quitting the kernel and re-opening the
notebook, the context is Units` not Global`, the context path
{"Units`", "System`"}. This phenomenon occured even after I
deactivated completely the `Private` section of the Units` package,
leaving only the public declarations !!

I found also interferences with my personal packages loaded in a
DynamicModule, where symbols from those were moved to the Units`-
context.

The problem apparently does not occur with other packages.

Best regards,
Hannes Kessler


  • Prev by Date: Re: How can I evaluate this statement?
  • Next by Date: Re: Happy Birthday Mathematica!
  • Previous by thread: Re: Re: Inequality not documented in 6.0
  • Next by thread: Re: Bug of Units-package in combination with DynamicModule