Posted By
SVS on 2006-05-15 08:15:37
| Copy 'n paste BASIC statements
Hi, I need to copy complex string definitions from a BASIC prg. to another one. How can I do this using Yape? Maybe with 2 open Yape sessions? Thank you pals.
|
|
Posted By
Gaia on 2006-05-15 08:26:13
| Re: Copy 'n paste BASIC statements
Yes, two yape sessions should be fine. Make a text screenshot first (Alt+C), and paste it to (for example) NotePad. Then delete everything but the relevant BASIC expression and copy that again (Ctrl+C) from NotePad, then paste it with Alt+V into the second Yape window.
|
|
Posted By
SVS on 2006-05-15 08:53:57
| Re: Copy 'n paste BASIC statements
Nice! Are the CBM chars (cursors, color, etc.) maintained?
|
|
Posted By
Gaia on 2006-05-15 16:45:47
| Re: Copy 'n paste BASIC statements
No, Windows clipboard screws them up. If I treated them as binary data instead of text it would work though, I believe.
|
|
Posted By
SVS on 2006-05-16 02:14:04
| Re: Copy 'n paste BASIC statements
Mhhh... the fact is that I have to copy this kind of strings. Is there any other way?
|
|
Posted By
Gaia on 2006-05-16 06:34:11
| Re: Copy 'n paste BASIC statements
I'm afraid no.
|
|
Posted By
Csabo on 2006-05-16 11:49:19
| Re: Copy 'n paste BASIC statements
You could probably just merge the two BASIC programs by merging the PRG files. In the one where you want to copy FROM, delete everything except the relevant lines, and the merge that to the other program. It's a bit of trouble for sure...
|
|
Posted By
SVS on 2006-05-16 12:21:51
| Re: Copy 'n paste BASIC statements
Yes indeed. I'm managing in this boring way. Ciao
|
|
Posted By
Gaia on 2006-05-16 12:23:22
| Re: Copy 'n paste BASIC statements
There used to be BASIC extensions supporting (and called) 'MERGE', maybe you could have a look? Unfortunately for you, I have never tried them so I can not even tell which one it was.
|
|
Posted By
Csabo on 2006-05-16 14:15:25
| Re: Copy 'n paste BASIC statements
What would be cool is to build in more BASIC awareness into YAPE (or perhaps do it in an external tool that talk to YAPE, or fork YAPE). It could
- debug basic - show current line number and line contents - show current command - set a breakpoint to a basic line - show/set basic variables
and I could think of a bunch of other things. Like I said, it would be cool, but probably too much work for too little reward.
|
|
Posted By
SVS on 2006-05-17 03:05:24
| Re: Copy 'n paste BASIC statements
Some of them are present in SVS-OS 3.2, I remember: - BASIC Breakpoint - Show current BASIC line - Steprun one line a time - Show variables (? not sure) - Merging - Show keyboard buffer filling Load the package and enjoy the vintage old SVS productions
|
|