Page 1 of 1

Saving and transferring to the WS a set of dfns

Posted: Wed Nov 15, 2017 7:14 pm
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.

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

Posted: Thu Nov 16, 2017 10:14 am
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