SALT loading a dyapp

General APL language issues

SALT loading a dyapp

Postby crishog on Fri Dec 29, 2017 3:24 pm

I have a dyapp which is used to build a workspace from scratch, nothing is stored in the ws at all.

I need to have different versions of one of the .dyalog scripts named in the dyapp, so I created DRC27.dyalog and DRC30.dyalog and named one or the other in the dyapp file

But SALT strips off all characters from the first numeric - it always loads DRC.dyalog regardless of which one is named in the .dyapp file, even if I have, say, DRC30A, it still loads DRC

Is this deliberate? It's easy enough to use an alphabetic name instead, but the version umber as part of the name would have been "nice"
crishog
 
Posts: 36
Joined: Mon Jan 25, 2010 9:52 am

Re: SALT loading a dyapp

Postby Vince|Dyalog on Fri Jan 05, 2018 4:42 pm

Hi Chris,

Could you send an example of your .dyapp and .dyalog files to support please?

I have tried to reproduce what you report but I was not able to.

Regards,

Vince
Vince|Dyalog
 
Posts: 269
Joined: Wed Oct 01, 2008 9:39 am

Re: SALT loading a dyapp

Postby crishog on Sun Jan 07, 2018 11:40 am

You can't reproduce it because I'm an idiot.

The idea was to have 3 .dyalog files & either build using different .dyapp files &be able to select from the differently named versions in the main startup function.

So it would hep if the :Namespace statement wasn't the same for each file...

In other words Salt was doing exactly what I told it to do.

Mea Culpa.
crishog
 
Posts: 36
Joined: Mon Jan 25, 2010 9:52 am

Re: SALT loading a dyapp

Postby Vince|Dyalog on Mon Jan 08, 2018 2:57 am

Ah! I am glad that you have resolved the issue, and thanks for letting us know.

Regards,

Vince
Vince|Dyalog
 
Posts: 269
Joined: Wed Oct 01, 2008 9:39 am

Re: SALT loading a dyapp

Postby crishog on Tue Jan 09, 2018 9:04 am

I only realized after Andy sent me some dyapps & dyalogs to try (of course they worked) & I then looked into the ones I was using - which I should have done earlier without being prodded into doing so.
crishog
 
Posts: 36
Joined: Mon Jan 25, 2010 9:52 am


Return to Language

Who is online

Users browsing this forum: No registered users and 3 guests