Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #16713 > unrolled thread
| Started by | "E. Martin-Serrano" <eMartinSerrano@telefonica.net> |
|---|---|
| First post | 2014-04-01 07:04 +0000 |
| Last post | 2014-04-03 06:16 +0000 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
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
| From | "E. Martin-Serrano" <eMartinSerrano@telefonica.net> |
|---|---|
| Date | 2014-04-01 07:04 +0000 |
| Subject | HeaderInformation[] function is gone |
| Message-ID | <lhdod1$p7$1@smc.vnet.net> |
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? E. Martin-Serrano __________________________________________ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, no sender's liability can be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, he/she does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. Este mensaje y los ficheros adjuntos pueden contener informaci=F3n confidencial destinada solamente a la(s) persona(s) mencionadas anteriormente y su contenido puede estar protegido por secreto profesional y en cualquier caso el mensaje en su totalidad est=E1 amparado y protegido por la legislaci=F3n vigente que preserva el secreto de las comunicaciones, y por la legislaci=F3n de protecci=F3n de datos de car=E1cter personal. Si usted recibe este correo electr=F3nico por error, gracias por informar inmediatamente al remitente y destruir el mensaje. Al no estar asegurada la integridad de este mensaje sobre la red, el remitente no se hace responsable por su contenido. Su contenido no constituye ning=FAn compromiso para el remitente, salvo ratificaci=F3n escrita por ambas partes. Aunque se esfuerza al m=E1ximo por mantener su red libre de virus, el emisor no puede garantizar nada al respecto y no ser=E1 responsable de cualesquiera da=F1os que puedan resultar de una transmisi=F3n de virus.
[toc] | [next] | [standalone]
| From | Szabolcs Horvát <szhorvat@gmail.com> |
|---|---|
| Date | 2014-04-02 06:36 +0000 |
| Message-ID | <lhgb67$751$1@smc.vnet.net> |
| In reply to | #16713 |
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.
[toc] | [prev] | [next] | [standalone]
| From | "E. Martin-Serrano" <eMartinSerrano@telefonica.net> |
|---|---|
| Date | 2014-04-03 06:16 +0000 |
| Subject | Re: function is gone |
| Message-ID | <lhiubk$dhs$1@smc.vnet.net> |
| In reply to | #16713 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web