Skip to content

Commit 50c9996

Browse files
committed
print output result variable name after save
1 parent 3765913 commit 50c9996

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

APLSource/Output/SaveToWs.aplf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
SaveToWs←{
22
⍝ Callback function to store results into a variable
3-
grid←(##.GUI.GetParentForm⊃⍵).output.grid
4-
⎕THIS.Result←⊃⍪/grid.(ColTitles Values)
3+
t←⎕THIS
4+
g←(##.GUI.GetParentForm⊃⍵).output.grid
5+
t.Result←⊃⍪/g.(ColTitles Values)
6+
⎕←(⍕t),'.Result ⍝ saved with size ',⊃{(⍕⍺),'x',(⍕⍵)}/⍴Result
57
}

0 commit comments

Comments
 (0)