![]() |
|
Frequently Asked Question
|
||||||||||||||||||||||
|
What you did is exactly what I might have done. You certainly do learn quickly. I have been working on the generalized input routine lately to put in such things as being able to use arrow/page keys within an input block, or to be able to click on a position and go to it. It looks like the law of unintended consequences has struck. It appears the changes I made had an unexpected effect on the full screen program at the page boundary. I did not test that particular scenario, as it is not one that I would normally use. I will look into it and get a fix to you.
There is an alternative though. As you found out, the pasting process in big pastes is slow because of the large amount of overhead involved repainting the screen. I have the disadvantage of not being able to tell the difference between typed characters and pasted characters. I wrote some code to be able to download pasted text directly into a window. The command is ASCII.RECV. There are two versions of it. One version uses an INPUT statement to enter the pasted text. After I wrote it, I became aware that some flavors filter out special characters, like the esc character, from the line that is input. Ergo a second version which uses byte-by-byte input. The version you have is the first version I wrote. I am not sure if the flavor you are using filters the input line, so, in case it does, I have attached the second version in a zip file. This is important because the sequence "esc esc
There is a specialized interface for all VGERBP modules. It is EV. Every dynamic command has VGER$ as a prefix. This was done to ensure I did not overwrite anyone else's programs. The part to the right of the $ is call its command name. With EV you only have to enter the command name, i.e., EV LX would open VGER$LX, or EV ASCII.RECV for VGER$ASCII.RECV.
There is a command to set all the triggered code properly. The command is PREP. When editing an mvToolbox module, type PREP UNIDATA (or D3 or UNIVERSE, depending on your flavor) and it will set the triggered lines properly. In LIST.EDIT, put your cursor on the module and type PREP
D3 (UNIDATA / UNIVERSE), or if you are doing all, type PREP ALL D3 (UNIDATA / UNIVERSE).
What I would suggest, would be to paste the code into a ascii text file on the server, and create a VOC entry pointing to its folder. Then you would have a staging file for future enhancements/fixes. All you would have to do is save it there, and edit it directly, or just copy it over to VGERBP. There are a NUMBER of ways to get it into VGERBP. Look at these commands: OVL, COPY.TO, SAVE, and LOAD.
Thank you very much for the feedback, and the information about Dynamic Connect. I have attached a zip file with the changes you suggested yesterday, and the second version of ASCII.RECV. I am looking into the pasting problem.
|
||||||||||||||||||||||
| Copyright 2004 DmCons, Inc. All rights reserved. | ||||||||||||||||||||||