dbTalk Databases Forums  

Global changes in JED for Jbase

comp.databases.pick comp.databases.pick


Discuss Global changes in JED for Jbase in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
David Oakes
 
Posts: n/a

Default Global changes in JED for Jbase - 11-08-2006 , 03:38 PM






If I wanted to comment out 25 lines in the Universe ED, I could go to
the first line I wanted to change and type in the following command:
C//*/25 and it would throw a * at the beginning of the next 25 lines.

If I wanted to change the name ABCDEFG to HIJKLMN everywhere in the
program I could go to the top and type : C/ABCDEFG/HIJKLMN/G9999999999
and it would change every occurence of ABCDEFG to HIJKLMN in the
program.

For one or 2 lines it's not bad, but when it's 150 or more it is a pain
to do each separately.

I can't find a way in JED to do either. I am considering writing a
program to prompt me for the first line number and the command to
perform, then call it from the command prompt. The downfall to this is
finding a way to access the program while I have it locked in the
Editor, then updating it and refreshing my screen with the updated
program.

Am I missing something? Anyone have an idea? I'd appreciate them all.

Thanks


Reply With Quote
  #2  
Old   
Rick Weiser
 
Posts: n/a

Default Re: Global changes in JED for Jbase - 11-09-2006 , 12:07 PM






David,

Yes you can use the JED editor to do this. You need to use the Block
commands of JED. Look at the documentation on the jBASE website for
this:

http://www.jbase.com/knowledgebase/m...es/man/ed1.htm

FYI, jBASE does have its own forum on Google. You may get a better
response.

http://groups-beta.google.com/group/jBASE

Rick

On Nov 8, 4:38 pm, "David Oakes" <davidandter... (AT) gmail (DOT) com> wrote:
Quote:
If I wanted to comment out 25 lines in the Universe ED, I could go to
the first line I wanted to change and type in the following command:
C//*/25 and it would throw a * at the beginning of the next 25 lines.

If I wanted to change the name ABCDEFG to HIJKLMN everywhere in the
program I could go to the top and type : C/ABCDEFG/HIJKLMN/G9999999999
and it would change every occurence of ABCDEFG to HIJKLMN in the
program.

For one or 2 lines it's not bad, but when it's 150 or more it is a pain
to do each separately.

I can't find a way in JED to do either. I am considering writing a
program to prompt me for the first line number and the command to
perform, then call it from the command prompt. The downfall to this is
finding a way to access the program while I have it locked in the
Editor, then updating it and refreshing my screen with the updated
program.

Am I missing something? Anyone have an idea? I'd appreciate them all.

Thanks


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.