MathGroup Archive 2012

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

Search the Archive

Re: fyi, small note on using Mathematica for object

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125925] Re: fyi, small note on using Mathematica for object
  • From: Ralph Dratman <ralph.dratman at gmail.com>
  • Date: Sat, 7 Apr 2012 05:57:42 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201204060958.FAA22979@smc.vnet.net>

Bobby,

Please explain how you mean this. It is not a technique I have been
able to find in the Virtual Book or other documentation.

What corresponds to a class, and how does one use a class to create
one or more object instances? How does one run a method from an
object?

A brief example would be most helpful.

Thank you.

Ralph


On Fri, Apr 6, 2012 at 5:58 AM, DrMajorBob <btreat1 at austin.rr.com> wrote:
> Mathematica is already object-oriented WITHOUT all that. What a lot of
> overhead for nothing.
>
> Bobby
>
> On Thu, 05 Apr 2012 04:49:54 -0500, Nasser M. Abbasi <nma at 12000.org> wrote:
>
>>
>> Just FYI,
>>
>> I wrote this small note on using Mathematica for object-based
>> programming. I found that it works really well for me.
>>
>> Nothing too advanced, just a simple way of using Module[] but
>> in a way to emulate object based programming that I did not know
>> about before.
>>
>> http://12000.org/my_notes/object_based_in_mathematica/v1.html
>>
>> --Nasser
>>
>
>
> --
> DrMajorBob at yahoo.com
>



  • Prev by Date: Re: fyi, small note on using Mathematica for object based programming
  • Next by Date: Re: evaluate to True?
  • Previous by thread: Re: fyi, small note on using Mathematica for object based programming
  • Next by thread: Re: fyi, small note on using Mathematica for object