Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #16720

Re: function is gone

From "E. Martin-Serrano" <eMartinSerrano@telefonica.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: function is gone
Date 2014-04-03 06:16 +0000
Message-ID <lhiubk$dhs$1@smc.vnet.net> (permalink)
References <lhdod1$p7$1@smc.vnet.net> <20140402063633.0EF7A6A04@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Thanks Szabolcs,

In fact, today the whole thing seems to work the following way

In[1]:= Needs["Utilities`Package`"]

(* functions - names- in "Utilities`Package`" *)

In[2]:= Names["Utilities`Package`*"]

Out[2]:= {"FindPackages", "FullPath", "PackageInformation"}

(* Looks up the HeaderInformation in the package "myContext`myPackage`"*)

In[3]:= PackageInformation["myContext`myPackage`", PackageInformation["myContext`myPackage`"]]

Out[3]:=  (* All info in the header of "myContext`myPackage`". Including  "Context", "Title", "Author", "Package Version", "Mathematica 
Version", "Copyright", "History", "Summary", "Keywords", "Contents",
"Discussion", "Sources", "Warning", "Last modification", and so on*)

Off topic comment

The actual package belongs to a large application that I wrote in 2002, which makes heavy use of Combinatorica. I am having a hard time in recovering (and revamping) it after 10 years, to make it work in the newer versions. Among other difficulties: the whole old fashioned documentation and Help is nearly unusable.

Thanks again.

E. Martin-Serrano


-----Mensaje original-----
De: Szabolcs Horv=C3=A1t [mailto:szhorvat@gmail.com]
Enviado el: mi=C3=A9rcoles, 2 de abril de 2014 8:37
Para: mathgroup@smc.vnet.net
Asunto: function is gone

On 2014-4-1, 3:04 , E. Martin-Serrano wrote:
> Hi,
>
> As far as I remember, until version 6, the function
>
> HeaderInformation[=93Contextname`packagename`=94]
>
> Returned the package-header information as, :Context: , :Title:,
> :Author:, :Package Version:, :Mathematica Version:, :Copyright: ,
> :History: ,
> :Summary: , :Keywords:, :Contents:, :Discussion: , :Sources:, :Warning.
>
> I think that in newer versions, after V6,  it has been removed. The
> Mathematica Version advisory in version 6, still accepts
> *HeaderInformation[]* as compatible code coming from earlier versions, 
> but now in V8, neither it appears in the Help nor is executed at all.
>
> Am I wrong?
>

This function was probably part of the package mentioned here:

http://mathematica.stackexchange.com/a/699/12

The package is not part of Mathematica any more but it can still be downloaded from the Wolfram Library Archive.



Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Find similar


Thread

HeaderInformation[] function is gone "E. Martin-Serrano" <eMartinSerrano@telefonica.net> - 2014-04-01 07:04 +0000
  Re: HeaderInformation[] function is gone Szabolcs Horvát <szhorvat@gmail.com> - 2014-04-02 06:36 +0000
  Re: function is gone "E. Martin-Serrano" <eMartinSerrano@telefonica.net> - 2014-04-03 06:16 +0000

csiph-web