« first day (1863 days earlier)      last day (798 days later) » 

1:46 PM
]config DyalogStartup
DyalogStartup c:\SE\startup.dyalog
If I have the above, that should execute on startup, correct?
It's not, so I must be missing something...
 
@PaulMansour Yes, but what do you have in that file? It has to be a niladic function.
 
I just copy/pasted startup.dyalog from the the Dyalog folder
 
2:01 PM
Hm.
 
I inserted a message to spill to session, and an assignment to #.SomeVar to see if it executed, and it appears not to.
 
You can have a look at ⎕SE.Dyalog.Callbacks.SECreate[13]
You can try setting DYALOGWSLOADEDSTOP=1 to trace.
 
  Line 13startupfile←{×≢⍵:⍵ ⋄ '/startup.dyalog',⍨Env'DYALOG'}ds←Env'DYALOGSTARTUP'
 
I wonder how would J/K look with syntax highlighting...
 
2:11 PM
       0=⎕NC'⎕SE.Dyalog.Callbacks.created'
0
I think this is related to a saved session file (which I think I accidentally saved) I'll restore the orig and try again.
Saving session file ... very bad idea.
 
@KamilaSzewczyk Hm, none of those would be very useful for me. Maybe alternating colours for adjacent tokens…
 
not even syntax highlighting can fix J and K.
 
@PaulMansour Ah. I've removed that variable in the final 18.2.
@KamilaSzewczyk In principle, syntax highlighting could indicate for each K function if it is monadic or dyadic. That might be something.
 
2:24 PM
@Adám Ok, restoring session file worked.
 
@KamilaSzewczyk looks neat
@Adám oh something like i did for my golflang
nilads are blue, monads are green, dyads are orange, quicks are purple
but doesnt K have variable arity?
 
2:56 PM
@PyGamer0 There is a great syntax highlighter for k9 for vscode
...not that there is much syntax to highlight.
 
 
3 hours later…
5:34 PM
In a configuration file, is there a way to specify the folder that the configuration file is in?
For example, if you want to specify a UserConfigFile on the command line, and that configfile has various parameters that point to various folders and files, and you want those parameters to be relative to the location of the config file.
 

« first day (1863 days earlier)      last day (798 days later) »