I finished the project I started after posting. Now I'm back to this.
On Sat, 19 Sep 2020 05:32:43 -0700 (PDT), <
[email protected]> wrote:
Excel's text boxes have <font> and <multiple> properties; choose an APL font for the<font> property & set <MultiLine> to True.
I picked one of the APL+Win fonts. Why set to MultiLine?
1. If you have "Enable Unicode Clipboard' option under the APL+Win Edit menu option in v7.2, enable it.
I have a PDF of the vesion 7 manual. I do not have it.
2. If you don't, you will have to use AV2ANSI & ANSI2AV.
Okay. I used them. Code transfers to VBA and back with no changes! I will
look into the Unicode after I upgrade.
To me it seems that your intention is to use an Excel Form's textbox as an APL Editor - that is the hardest of all options available to you!
But editing the couple lines of code is a minor part of this editor. These specification databases haven't been changed in a couple decades. Then the
code that creates the columns and some totals isn't going to change. What
will change is all the dippy column formatting parameters.
What I did was to disable the VBA Texboxes containing the code. Then in APL
I wrote a prompt function that let's one view and update the code strings within the nest. Tight edits. Works like a charm.
But I still have two issues:
(1) I do not know how to insert back into a nest. I tried:
(6{disclose}{each}m){<-}ANSI2AV{each}6{disclose}{each}m
But it did not work. I ended up with a loop:
(6{disclose}i{disclose}m){<-}ANSI2AV 6{disclose}i{disclose}m
(2) And this one is so far fatal to the project:
VBA does not have a direct replacement for APL's numeric vectors. Passing a vector to VBA gets you an array of scalars. Okay. But when I pass this
array back to APL I get a nest of scalars. What is the APL to turn this
back into a vector? These "vectors" are within the nest.
Don. www.bondcalc.com/windows
Don. www.donwiss.com (e-mail link at home page bottom).
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)