Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

RE: Holding name of argument



use SymbolName, it returns a string with the name of the symbol.


>-----Original Message-----
>From:	mike johnson [SMTP:mike_johnson@llnl.gov]
To: mathgroup@smc.vnet.net
>Sent:	Tuesday, February 10, 1998 6:02 PM
>To:	mathgroup@smc.vnet.net
>Subject:	[mg10815] Holding name of argument
>
>Greetings--
>  I have written a function for writing data in binary form to a file. I
>use the MathLink program by Todd Gayley and John Fultz that is a
>replacement for the standard (slow) package Utilities`BinaryFiles`. I
>am successful in writing mixed forms of ascii, single variable, and
>large array data to the file (quickly). 
>  The syntax of the function is writeBinary[field_,fileName_] := ...
>What I am having trouble with now is writing the name of the first
>argument into the file. That is, when the function is called I want to
>save the name of the first argument as an ascii string and write that
>string into the file. I have played for a while with HoldFirst and
>HoldForm, but so far I am missing the point.
>  Thanks in advance for any help.
>--Mike
>-- 
>Michael A. Johnson, Mail Stop L-463
>Lawrence Livermore Nat'l Lab
>7000 East Ave., P. O. Box 808
>Livermore, CA 94551
>Fax: (510) 422-6007
>mike-johnson@llnl.gov
>



  • Prev by Date: Re: Random Order of a Set of Numbers
  • Next by Date: Re: Notebook Tutorial
  • Prev by thread: Holding name of argument
  • Next by thread: Mathematica 3.0.2, NeXT Intel