Saving and transferring to the WS a set of dfns

Learning APL or new to Dyalog? Ask "silly" questions here, without fear...

Saving and transferring to the WS a set of dfns

Postby REMINGTON30 on Wed Nov 15, 2017 7:14 pm

Consider a set of three dfns:

M_T0overT←{((2÷⍺-1)ׯ1+⍵)*0.5}
M_P0overP←{((2÷⍺-1)ׯ1+⍵*(⍺-1)÷⍺)*0.5}
M_Rho0overRho←{((2÷⍺-1)ׯ1+⍵*⍺-1)*0.5}

It there a way to save the set (or a much larger set) and later transfer (fix) them to the workspace? Saving them as text followed by a copy and "Paste Unicode" appears to work but there should be a better way.
REMINGTON30
 
Posts: 19
Joined: Fri Aug 11, 2017 2:17 pm

Re: Saving and transferring to the WS a set of dfns

Postby Vince|Dyalog on Thu Nov 16, 2017 10:14 am

Hi Remington30,

I think the simplest way is to make a function which will run those lines to define those dfns.

Then save this function in a workspace.

Regards,

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


Return to New to Dyalog?

Who is online

Users browsing this forum: No registered users and 1 guest