Posts

Showing posts from April 11, 2019

Hoppstädten

Image
Dieser Artikel behandelt die Ortsgemeinde Hoppstädten im Landkreis Kusel; Hoppstädten ist auch ein Teil der Ortsgemeinde Hoppstädten-Weiersbach im Landkreis Birkenfeld. Wappen Deutschlandkarte 49.691666666667 7.5355555555556 310 Koordinaten: 49° 42′  N , 7° 32′  O Basisdaten Bundesland: Rheinland-Pfalz Landkreis: Kusel Verbandsgemeinde: Lauterecken-Wolfstein Höhe: 310 m ü. NHN Fläche: 6,23 km 2 Einwohner: 285 (31. Dez. 2017) [1] Bevölkerungsdichte: 46 Einwohner je km 2 Postleitzahl: 67744 Vorwahl: 06788 Kfz-Kennzeichen: KUS Gemeindeschlüssel: 07 3 36 045 Adresse der Verbandsverwaltung: Schulstraße 6a 67742 Lauterecken Website: www.vg-lw.de Ortsbürgermeister: Günter Denzer Lage der Ortsgemeinde Hoppstädten im Landkreis Kusel Hoppstädten ist eine O

What is the accessibility of a package's `Private` context variables?

Image
8 $begingroup$ I've been reading up on how Mathematica handles contexts, $Context , $ContextPath , and a few of the tutorials they have on Packages. What I'm wondering about is how the functions defined in, say, CustomPackage` are able to access the variables in CustomPackage`Private` . For example, BeginPackage["CustomPackage`"] MyFunction::usage = "MyFunction[arg1] adds 5 to arg1." Begin["`Private`"] abc=5; MyFunction[arg1_] := arg1 + abc; End EndPackage When I load the package <<CustomPackage` the $ContextPath will have CustomPackage` on it, but not CustomPackage`Private` So how does MyFunction know the value of abc at the delayed function call (when it is called) if the Private` context isn't on the $ContextPath