Re: [U2] UniVerse Dictionary question

Kevin King <[email protected]>
Newsgroups gmane.comp.db.u2.general
Message-ID <CA+v=tELC0-U62_-HdCxmh7FEYQbxZQJ1C9i98z7q=cg2vLHD4w@mail.gmail.com>
AE is the brainchild of one Leif Smith as I recall.  Haven't seen him in
years, but he used to stomp around here in Denver.


On Wed, Feb 5, 2014 at 5:53 PM, McGowan, Ian <
[email protected]> wrote:

> It's well worth spending some time reading the AE help pages.  One of my
> favorites is "help +" which ends with the gem "We could go on and on about
> this, but you probably get it."  I'm a huge fan of AE, even though I spend
> most of my programming time inside a visual editor (I like joe [
> http://joe-editor.sourceforge.net/], not to start a religious debate).  I
> don't use AE prestores with the wild abandon of my misspent youth, but
> they're still a handy thing to know.  If anyone knows the author of AE, let
> me know - I owe him or her several drinks...
>
> The backtick is just the default 'command delimiter'.  You can read more
> about it with:
>
> *--: help delimiter
> Command: CDelimiter (CD)
>
> 'CD' allows you to change the command delimiter to any single character.
> When you enter the editor for the first time the command delimiter is
> set to the ` (weirdmark, not single quote) character.
>
> Examples:
>
>  *--: CD   [displays the current command delimiter; no change]
>  Command delimiter is `
>
>  *--: CD#  [changes the command delimiter to '#']
>  Command delimiter is now #
>
> The Command Delimiter is a single character that separates multiple
> editor commands when they are entered at a single editor prompt.
>
> Valid command delimiters are:
>
>     ` , ; # $ % & ~ | [ ] { } / " '
>
> <and then onto prestores>
> Example:
>
>  *--: G10`G20`G30   [go to line 10, then to 20, then to 30]
>
> A rather pointless command, but it illustrates the principle.
>
> Multipart commands are very useful as prestored commands. They allow
> processing many records with a single command. For example, suppose
> you had a select list of 100 records, and each of them needs every
> occurrence of '100' changed to '250'. You can do this with a multipart
> prestored command.
>
> First create the prestored command:
>
>    =DOITALL CU9999/100/250`FI`=DOITALL
>
> Then run the command '=DOITALL' by entering '=DOITALL' as a command.
>
> The editor will then loop through the list of records, perform the
> change for each of them, file each of them, and then run =DOITALL again
> on the next record.
>
> -----Original Message-----
> From: [email protected] [mailto:
> [email protected]] On Behalf Of Kevin King
> Sent: Wednesday, February 05, 2014 4:33 PM
> To: U2 Users List
> Subject: Re: [U2] UniVerse Dictionary question
>
> Unreal.  This old dog just learnt a new trick.
>
>
> On Wed, Feb 5, 2014 at 5: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
> >
> >
> > _______________________________________________
> > 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
> > _______________________________________________
> > 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
> -----------------------------------------
> IMPORTANT NOTICE:   This message is intended only for the addressee
> and may contain confidential, privileged information.  If you are
> not the intended recipient, you may not use, copy or disclose any
> information contained in the message.  If you have received this
> message in error, please notify the sender by reply e-mail and
> delete the message.
> _______________________________________________
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.