Michael, You are trying to use the r> prompt in a way that it is really not designed to work. The R>prompt is intended primarily for use with one command at the time, although you can concatenate several commands at the time using “;” in between commands. If you want to debug portions/snippets of code just highlight the block of code you want to debug, copy it to the clipboard using standard commands (right click copy or CTRL-C), open an empty file using RBEDIT and paste the code there, again using standard command (right click paste or CTRL-V) and then TRACE the command directly from the editor. This is the proper and most effective way to debug code. Again, the r> prompt is really not intended for multi-line commands like you are trying to do. Many if not most of us have converted DOS database at one time or another without big issues. Just because you want it to work in a way it was not intended does not meant R:Base has a lack of functionality, it simply means that you need to learn to properly use the many tools available to you in the way they were designed to work and not in the way you would like them to work. Javier, Javier Valencia, PE O: 913-829-0888 H: 913-397-9605 C: 913-915-3137 From: [email protected] [mailto:[email protected]] On Behalf Of Michael Sent: Thursday, May 05, 2016 4:00 PM To: RBASE-L Cc: [email protected] Subject: Re: Re[2]: [RBASE-L] - Pasting a Multi-line command at the R> Rehan & Bruce, Thanks for your reply, which reminded me of the new feature of Copy Command (i.e. copy without continuation characters). However, both your answers miss the mark and I am left without a solution to the basic problem: a properly constructed, multiline statement fails to work at the R> (tho it works fine run within a command file).
By my estimation, that lack of functionality itself and alone would more than double development/proofing time on everything. For conversion of a large working database, that means I'm more likely to just retire than finish converting my main database. Or do my testing where possible back in DOS, where such things work. It also means that lengthy code must be converted in format in order to test it at the R>, with all the problems of proofing after the fact given differences in formatting. Seems to me that a "Paste Command" that strips out continuation characters (as a workaround to RBase's apparent failure here) would be more appropriate than a Copy Command that works only in RBEdit. So, again: why does a properly structured, multiline command fail with a spurious syntax error at the R>? That is the core issue. I'm hearing that "it just doesn't work, period." And in that I'm seeing a huge lack of functionality. So, Bruce, someday I hope to have greater confidence in RB Windows. Thus far, I've mostly seen key functionality such as this disappear, making progress to the point of harnessing the program's great power very tedious & slow -- and possibly not even cost-effective. Mike On Friday, April 29, 2016 at 7:30:02 AM UTC-7, rbytes wrote: Michael: There's a keyboard shortcut for that: 1. Highlight your multi-line command in the editor; 2. Use [Ctrl-Shift-Alt-C] instead of [Ctrl-C]; 3. Paste at the R> Prompt with [Ctrl-V]. You will NOT be disappointed with the functionality of R:BASE in Windows. Bruce Chitiea SafeSectors, Inc. 909.238.9012 mobile ------ Original Message ------ Sent: 4/28/2016 11:46:30 PM Subject: Re: [RBASE-L] - Pasting a Multi-line command at the R> From: "'rehan wyne' via RBASE-L" <[email protected] <javascript:> > To: "[email protected] <javascript:> " <[email protected] <javascript:> > Cc: Micheal, Type your multi line command in R> prompt and let it warp itself, do not use '+' sign to tell the interpreter / compiler that it is a multi line command, just press 'enter' at the end of command to execute it. Secondly, eliminate '+' sign from ur multi line command in R> prompt, pasted from a command file, it will work. Rehan Wyne On Friday, April 29, 2016 10:59 AM, Michael <[email protected] <javascript:> > wrote: My first post to this group. Newbie to Rbase X 32bit from the cozy DOS world, but I have a question about the most basic functionality (or lack). How does one cut & paste a multi-line command to the R> prompt to test the command (or execute it one-off)? I can paste the command, but every command I've tried throws an error. And then command history corrupts the formatting of the pasted command on recall. I first found this copying some help screen examples. But even using something a simple as Show + Variables results in a spurious error (sometimes Invalid parameter, usually syntax error). <https://groups.google.com/group/rbase-l/attach/860ef8437e56a/?part=0.1&authuser=0> <https://groups.google.com/group/rbase-l/attach/860ef8437e56a/?part=0.2&authuser=0> And this type of mess when recalled from history: Show +Variables I've seen that syntax executed in a command file works fine, but when the identical syntax is pasted, it does not work with the errors noted above. Testing at the R> is an essential function. But does it work? How? Thanks for any help. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <javascript:> . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <javascript:> . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

