Liste des Groupes | Revenir à co vms |
On 11/23/2024 10:35 PM, Arne Vajhøj wrote:And using a normal shareable image and ctypes, thenIf somebody have a program that need to allow user toI just created a JNI wrapper around the callable
edit data and the program is VMS specific and the target
editors are EDT and TPU, then maybe doing the edit in
memory makes sense.
>
You can still argue that both subprocess with external editor
and temp file or simple callable editor editor with temp file is
simpler code wise using just the VMS provided API's and
not some wrapper found on the internet.
>
But I like multiple options.
editor wrappers.
So now the Groovy snippets:
res = Edit.edt("A\nBB\nCCC")
print(res)
and:
res = Edit.tpu("A\nBB\nCCC")
print(res)
work.
Les messages affichés proviennent d'usenet.