« first day (129 days earlier)      last day (2528 days later) » 

1:38 PM
@Adám the only thing I just noticed is that you put # instead of £. I'll have to actually try it out later.
seems to be working though
 
 
4 hours later…
5:27 PM
@Adám does MSKLC's "Print" feature work for you?
 
 
5 hours later…
10:37 PM
@MartinEnder Thanks. I'll have a look.
 
@Adám what does # stands for?
 
@MartinEnder Also, the NOT symbol is on Shift+Tilde, and "/@ are swapped. Besides, I've added BrokenStile and NOT to both US and UK.
@Uriel # is the root namespace (in the workspace). Do you know about OO?
 
@Adám yup
 
@MartinEnder Never tried it until now, and no, it doesn't seem to do anything. However, Save As Image works, and I assume Print would just be printing that image.
@Uriel So, Dyalog APL has two basic object models: the namespace and the class. The class is basically identical to the OO of Java and C#, while the namespaces provide simple containers for items.
 
@Adám so the root namespace is like the global scope in C and C#?
 
10:46 PM
@Uriel I don't think so (I don't know C or C#). The root namespace contains everything else (almost) in a tree structure of namespaces (classes and instances are also namespaces), but things in # are not directly available from sub-namespaces without an explicit reference to #. I'll make an example for you…
      ⍝ We begin in #
      ⎕THIS
#
      var←1 2 3
      myspace←⎕NS ''
      myspace.answer←42
      answer
VALUE ERROR
      answer
     ∧
      var
1 2 3
      ⍝ Change Space
      )CS myspace
#.[Namespace]
      answer
42
      var
VALUE ERROR
      var
     ∧
      #.var
1 2 3
 
@Adám thanks! I think I got it pretty much.
 
@Uriel Good. Let me know if anything is unclear. Main thing to note is that Dyalog APL uses the dot syntax for spaces: parent.child, the root is #, and the reference to the parent is ##. E.g. #.myspace.##.var is the same as #.var.
 

« first day (129 days earlier)      last day (2528 days later) »