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


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

is there internal variable like $0 in perl?

From Ted Sariyski <tsariysk@craft-tech.com>
Newsgroups comp.soft-sys.math.mathematica
Subject is there internal variable like $0 in perl?
Date 2012-04-26 09:29 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jnb4hb$5eu$1@smc.vnet.net> (permalink)
References <201204201144.HAA21808@smc.vnet.net> <201204210431.AAA29236@smc.vnet.net> <201204240932.FAA24447@smc.vnet.net> <CAEtRDSdCMKYiHCjKPUQnSPSHMfOnTQW82F3horZaqx5YbQDqdA@mail.gmail.com>

Show all headers | View raw


Hi,

When I define a new function myFun in a package aaa` I define a variable 
me="aaa`myFun".

BeginPackage["aaa`"]
...
myFun[]:=Module[{..., me="aaa`myFun"},
...

I wonder Is there an automatic variable, like $0 in perl, which 
internally is assigned "aaa`myFun"?

Thanks in advance,
--Ted

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

is there internal variable like $0 in perl? Ted Sariyski <tsariysk@craft-tech.com> - 2012-04-26 09:29 +0000
  Re: is there internal variable like $0 in perl? A Retey <awnl@gmx-topmail.de> - 2012-04-27 10:50 +0000

csiph-web