I knew all that except IB

To your question of why you need two spaces in IB<space><space><enter>
This is because the *first* space is not an operand, it's just a delimiter to 
separate the opera*TOR* from the oper*AND*
(Maybe that should be oper*ATOR*... )
at any rate, it's a throw away

The thing it's opera*TING* on, is whatever follows the delimiter
In this case the space
In the other case the text

The second space is the *text* if you will that it should operate upon.



-----Original Message-----
From: Charles Stevenson <[email protected]>
To: U2 Users List <[email protected]>
Sent: Thu, Feb 6, 2014 1:49 am
Subject: [U2] "ED: The very finest of 1970s technology!" was: UniVerse 
Dictionary question


& it's been that way for, oh I dunno, going back to PI, 30+ years?
That's in input mode.

Here are some related ED facts about edit-mode that I've found Pickies 
(vs. Primates) don't seem to know:

R<space> <enter>   replaces current line with a blank line.

I<space>this is some text<enter>
    will insert a line "this is some text"but leave yoiu in edit-mode, 
not insert-mode.

IB will put you in input mode BEFORE the line you're on.

IB<space>this is a some text<enter>
    will insert a line "this is some text"  BEFORE the current line
    but leave yoiu in edit-mode, not insert-mode.

There  is a bit of an inconsistency with IB:
IB<space><space><enter>
     Inserts a blank line BEFORE current line.  I don't know why 2 
spaces are needed. Oh, well.

R<enter>   repeats the previous full-line Replacement
C<enter>   repeats the previous Change command.
R this is some text<enter>
     replaces thw whole line.
R/ABC/XYZ
   is really  C/ABC/XYZ

So if you pickies are used to saying
     R/ABC/XYZ/
That is really a Change command,   C/ABC/XYZ.
So subsequent C<enter> will repeat your R/ABC/XYZ/


Finally, there is the actually helpful HELP<enter> command. (Check out 
HELP SEQ<enter>.)

AE aficionados may quibble over the ED  motto,  "The very finest of 
1970s technology!"

cds


On 2/6/2014 4:24 AM, Clif Oliver wrote:
> The UniVerse ED verb in input mode accepts a *single* space as a null line 
indicator.
>
>
> Regards,
>
> Clif
>
>
> On Feb 5, 2014, at 6:15 PM, Daniel McGrath <[email protected]> 
wrote:
>
>> A tip my original mentor taught me on the first day was that in ED/AE, the 
back tick (`) gets treated as an empty line so you can keep going in insert 
mode 
and not need to worry about it.
>>
>> Regards,
>> Dan
>>
>>
>> -----Original Message-----
>> From: [email protected] 
>> [mailto:[email protected]] 
On Behalf Of Martin Scholl
>> Sent: Wednesday, February 05, 2014 5:07 PM
>> To: 'U2 Users List'
>> Subject: Re: [U2] UniVerse Dictionary question
>>
>> The dots were just there to keep the numbered list going, The same I use 
>> dots 
in the Editor to enter blank lines. Later I go to the top and do R/.//50 to 
remove the dot.
>>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of Wjhonson
>> Sent: Tuesday, February 04, 2014 3:04 PM
>> To: [email protected]
>> Subject: Re: [U2] UniVerse Dictionary question
>>
>>
>> What are the periods in 3 and 4 for?
>> Did you try removing those?
>>
>>
>>
>> -----Original Message-----
>> From: Woodward, Bob <[email protected]>
>> To: U2 Users List <[email protected]>
>> Sent: Tue, Feb 4, 2014 11:49 am
>> Subject: Re: [U2] UniVerse Dictionary question
>>
>>
>> Just to make sure, you're wanting FIELD 178 and the first value of that 
field.  Correct?  Because you have a length of 1, left justified I want to make 
sure you're not looking for the first character of the 178th field.
>> Maybe if you showed what you're wanting and what you're getting, instead, 
then we'd be sure to give you an answer that makes sense.
>>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of Bill Haskett
>> Sent: Tuesday, February 04, 2014 11:45 AM
>> To: U2 Users List
>> Subject: Re: [U2] UniVerse Dictionary queston
>>
>> Martin:
>>
>> This is the only way to do accomplish the defined task in UniData.
>> Maybe "@RECORD<178,1>" is the preferred method in UV.
>>
>> Bill
>> Untitled Page
>>
>>
>> ------------------------------------------------------------------------
>> ----- Original Message -----
>> *From:* [email protected]
>> *To:* U2 Users List <[email protected]>
>> *Date:* 2/4/2014 11:33 AM
>> *Subject:* [U2] UniVerse Dictionary queston
>>> UniVerse.
>>>
>>> I want to create a dictionary item that extract value <178,1>
>>>
>>> I thought
>>>
>>> 1.       I
>>> 2.       EXTRACT(@RECORD,178,1,0)
>>> 3.       .
>>> 4.       .
>>> 5.       1L
>>> 6.       S
>>>
>>>
>>> Would do but it does not give me the desired result. Any suggestions?
>>>

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

 
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to