Saving and transferring to the WS a set of dfns

Learning APL or new to Dyalog? Ask "silly" questions here, without fear...
Post Reply
REMINGTON30
Posts: 22
Joined: Fri Aug 11, 2017 2:17 pm

Saving and transferring to the WS a set of dfns

Post by REMINGTON30 »

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.
Vince|Dyalog
Posts: 439
Joined: Wed Oct 01, 2008 9:39 am

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

Post by Vince|Dyalog »

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
Post Reply