Re: [U2] BFORMAT

2012-11-29 Thread Doug Averch
Allen:

AE format allows the setting of margins, indenting and a whole lot more.
 FORMAT in ED has no options.

Regards,
Doug
www.u2logic.com/tools.html
The makers of XLr8Editor and XLr8Resizer products

On Wed, Nov 28, 2012 at 6:05 PM, Allen Bell apb...@psiwav.com wrote:

 UniVerse has always had a format option built into the regular editor
 (ED). Toy just type in FORMAT

 AB
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] BFORMAT

2012-11-29 Thread Doug Averch
Allen:

AE format allows the setting of margins, indenting and a whole lot more.
 FORMAT in ED has no options.

Regards,
Doug
www.u2logic.com/tools.html
The makers of XLr8Editor and XLr8Resizer products


On Wed, Nov 28, 2012 at 6:05 PM, Allen Bell apb...@psiwav.com wrote:

 UniVerse has always had a format option built into the regular editor
 (ED). Toy just type in FORMAT

 AB
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] BFORMAT

2012-11-29 Thread Allen Bell
Anyone who is so anal as to require a change in setting of margins, 
indenting and a whole lot more  is unlikely to be someone with whom I 
would enjoy spending time.


AB
On 11/29/2012 8:55 AM, Doug Averch wrote:

Allen:

AE format allows the setting of margins, indenting and a whole lot more.
  FORMAT in ED has no options.

Regards,
Doug
www.u2logic.com/tools.html
The makers of XLr8Editor and XLr8Resizer products


On Wed, Nov 28, 2012 at 6:05 PM, Allen Bell apb...@psiwav.com wrote:


UniVerse has always had a format option built into the regular editor
(ED). Toy just type in FORMAT

AB

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] BFORMAT

2012-11-29 Thread George Gallen
I can see those settings being useful for printing out programs for 
documentation, but in today's printer
Driver world, margins can be set outside the scope of the program - but if you 
don't have access to the
Printer driver, then it would be nice to be able to set them, especially if 
your going to 3 hole punch the
Output.

George

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Allen Bell
Sent: Thursday, November 29, 2012 10:07 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] BFORMAT

Anyone who is so anal as to require a change in setting of margins, 
indenting and a whole lot more  is unlikely to be someone with whom I 
would enjoy spending time.

AB
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] BFORMAT

2012-11-29 Thread Allen Bell
Seriously though, the original poster's question was whether anyone had 
the source code for a Format program. On UniVerse you will find the 
source code for both the FORMAT verb (which calls the FORMAT.BASIC 
subroutine in files BP and APP.PROGS. The fromnt end for the FORMAT and 
FANCY.FORMAT verbs are named FORMAT.B (this is where you would change 
the default parameters for margins, etc.) and the code in APP.PROGS is 
named FMT.BASIC.B.


Yoou can change the source for either (or both) of those items to make 
them work whatever way you want. Just make sure you understand how to 
globally catalog them properly, particularly the one in APP.PROGS which 
must be globally cataloged as -FORMAT.BASIC


The built in FORMAT (and FANCY.FORMAT) command from within ED will then 
work as you want or the version of the verb FORMAT from will work as you 
want.


AB
On 11/29/2012 9:07 AM, Allen Bell wrote:
Anyone who is so anal as to require a change in setting of margins, 
indenting and a whole lot more  is unlikely to be someone with whom I 
would enjoy spending time.


AB
On 11/29/2012 8:55 AM, Doug Averch wrote:

Allen:

AE format allows the setting of margins, indenting and a whole lot more.
  FORMAT in ED has no options.

Regards,
Doug
www.u2logic.com/tools.html
The makers of XLr8Editor and XLr8Resizer products


On Wed, Nov 28, 2012 at 6:05 PM, Allen Bell apb...@psiwav.com wrote:


UniVerse has always had a format option built into the regular editor
(ED). Toy just type in FORMAT

AB

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] BFORMAT

2012-11-29 Thread Allen Bell
H This doesn't sound logical to me. If your FORMAT output would 
be off the page because of margin settings, wouldn't everything you 
print to that printer from within UniVerse suffer the same problem?


Anyway, this all seems way beyond the scope of the original poster's 
question.


AB
On 11/29/2012 9:16 AM, George Gallen wrote:

I can see those settings being useful for printing out programs for 
documentation, but in today's printer
Driver world, margins can be set outside the scope of the program - but if you 
don't have access to the
Printer driver, then it would be nice to be able to set them, especially if 
your going to 3 hole punch the
Output.

George

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Allen Bell
Sent: Thursday, November 29, 2012 10:07 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] BFORMAT

Anyone who is so anal as to require a change in setting of margins,
indenting and a whole lot more  is unlikely to be someone with whom I
would enjoy spending time.

AB
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] BFORMAT

2012-11-29 Thread Wjhonson
The default format options in ED are controlled in the ED.B program in the BP 
of the uv account.
You can also setup your own Format program, without modding the FORMAT.B just 
by changing ED to call your special formatter instead of the  -FORMAT.BASIC 
catalogued routine.


 There's some wacky stuff it's doing with memory in that ED program, I can't 
figure out what they are trying to do
Of course it was originally written in 1992 as a port of the PI/Open Editor


 

 

-Original Message-
From: Allen Bell apb...@psiwav.com
To: u2-users u2-users@listserver.u2ug.org
Sent: Thu, Nov 29, 2012 7:26 am
Subject: Re: [U2] BFORMAT


Seriously though, the original poster's question was whether anyone had 
the source code for a Format program. On UniVerse you will find the 
source code for both the FORMAT verb (which calls the FORMAT.BASIC 
subroutine in files BP and APP.PROGS. The fromnt end for the FORMAT and 
FANCY.FORMAT verbs are named FORMAT.B (this is where you would change 
the default parameters for margins, etc.) and the code in APP.PROGS is 
named FMT.BASIC.B.

Yoou can change the source for either (or both) of those items to make 
them work whatever way you want. Just make sure you understand how to 
globally catalog them properly, particularly the one in APP.PROGS which 
must be globally cataloged as -FORMAT.BASIC

The built in FORMAT (and FANCY.FORMAT) command from within ED will then 
work as you want or the version of the verb FORMAT from will work as you 
want.

AB
On 11/29/2012 9:07 AM, Allen Bell wrote:
 Anyone who is so anal as to require a change in setting of margins, 
 indenting and a whole lot more  is unlikely to be someone with whom I 
 would enjoy spending time.

 AB
 On 11/29/2012 8:55 AM, Doug Averch wrote:
 Allen:

 AE format allows the setting of margins, indenting and a whole lot more.
   FORMAT in ED has no options.

 Regards,
 Doug
 www.u2logic.com/tools.html
 The makers of XLr8Editor and XLr8Resizer products


 On Wed, Nov 28, 2012 at 6:05 PM, Allen Bell apb...@psiwav.com wrote:

 UniVerse has always had a format option built into the regular editor
 (ED). Toy just type in FORMAT

 AB
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users


 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

 
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] BFORMAT

2012-11-29 Thread Martin Phillips
Hi,

  There's some wacky stuff it's doing with memory in that ED program, I can't 
 figure out what they are trying to do
 Of course it was originally written in 1992 as a port of the PI/Open Editor

I remember this being implemented from my days in PI/open development. It was 
all about performance when editing very large items.

If the data was stored as a single dynamic array, processing is easy but 
becomes painfully slow with massive records. I recall
comparing ED with another editor that did not break the data up in this way. 
When the data was over 100,000 lines long (I cannot
remember what this huge item was), the performance difference was huge.

Although processors are now a lot faster than when this was written over 20 
years ago, the gains are still worth having.


Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England
+44 (0)1604-709200

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] BFORMAT

2012-11-29 Thread Wjhonson
Oh by the by.  If you DO make any changes that what I or others are suggesting, 
then you MUST create instructions for What to do after a new Universe software 
install or after a new Server is setup

Because everything is going to get set back to a default state.

 

 

 

-Original Message-
From: Wjhonson wjhon...@aol.com
To: u2-users u2-users@listserver.u2ug.org
Sent: Thu, Nov 29, 2012 9:07 am
Subject: Re: [U2] BFORMAT


The default format options in ED are controlled in the ED.B program in the BP 
of the uv account.
You can also setup your own Format program, without modding the FORMAT.B just 
by changing ED to call your special formatter instead of the  -FORMAT.BASIC 
catalogued routine.


 There's some wacky stuff it's doing with memory in that ED program, I can't 
figure out what they are trying to do
Of course it was originally written in 1992 as a port of the PI/Open Editor


 

 

-Original Message-
From: Allen Bell apb...@psiwav.com
To: u2-users u2-users@listserver.u2ug.org
Sent: Thu, Nov 29, 2012 7:26 am
Subject: Re: [U2] BFORMAT


Seriously though, the original poster's question was whether anyone had 
the source code for a Format program. On UniVerse you will find the 
source code for both the FORMAT verb (which calls the FORMAT.BASIC 
subroutine in files BP and APP.PROGS. The fromnt end for the FORMAT and 
FANCY.FORMAT verbs are named FORMAT.B (this is where you would change 
the default parameters for margins, etc.) and the code in APP.PROGS is 
named FMT.BASIC.B.

Yoou can change the source for either (or both) of those items to make 
them work whatever way you want. Just make sure you understand how to 
globally catalog them properly, particularly the one in APP.PROGS which 
must be globally cataloged as -FORMAT.BASIC

The built in FORMAT (and FANCY.FORMAT) command from within ED will then 
work as you want or the version of the verb FORMAT from will work as you 
want.

AB
On 11/29/2012 9:07 AM, Allen Bell wrote:
 Anyone who is so anal as to require a change in setting of margins, 
 indenting and a whole lot more  is unlikely to be someone with whom I 
 would enjoy spending time.

 AB
 On 11/29/2012 8:55 AM, Doug Averch wrote:
 Allen:

 AE format allows the setting of margins, indenting and a whole lot more.
   FORMAT in ED has no options.

 Regards,
 Doug
 www.u2logic.com/tools.html
 The makers of XLr8Editor and XLr8Resizer products


 On Wed, Nov 28, 2012 at 6:05 PM, Allen Bell apb...@psiwav.com wrote:

 UniVerse has always had a format option built into the regular editor
 (ED). Toy just type in FORMAT

 AB
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users


 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

 
 
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] BFORMAT

2012-11-29 Thread Phil Walker
In today's world who prints out anything ;-)

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen
Sent: 30 November 2012 4:16 a.m.
To: U2 Users List
Subject: Re: [U2] BFORMAT

I can see those settings being useful for printing out programs for 
documentation, but in today's printer Driver world, margins can be set outside 
the scope of the program - but if you don't have access to the Printer driver, 
then it would be nice to be able to set them, especially if your going to 3 
hole punch the Output.

George

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Allen Bell
Sent: Thursday, November 29, 2012 10:07 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] BFORMAT

Anyone who is so anal as to require a change in setting of margins, indenting 
and a whole lot more  is unlikely to be someone with whom I would enjoy 
spending time.

AB
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] BFORMAT

2012-11-29 Thread Marco Rojas Castro
Hi
Use FORMAT command in AE (alternative editor)

Example:

FORMAT -MARGIN 6 -INDENT 3

Regards, Marco

2012/11/28 dennis bartlett dqbartl...@gmail.com

 Hi

 Does anybody have a working copy of BFORMAT - I downloaded it from some
 useful site a long time back and modded it to work for modern UniVerse, but
 somewhere along the line (one late night) I have introduced some bugs I
 don't have time to go fix.. so before I do, maybe someone out there already
 has a BASIC formatting program that will allow me to only have an indent of
 2 spaces instead of the usual 6?

 Anyone?

 Thanks

 Dennis
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] [BDT] SQL Data Type Column

2012-11-29 Thread Bill Brutzman
In the Rocket U2 Basic Developer ToolKit... how do I get the SQL data column to 
show?

I have this column (and data field) on my main PC.  When I installed BDT on 
another Windows machine... I am having trouble finding how to make this column 
(and field) appear.

--Bill
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] BFORMAT

2012-11-29 Thread Wjhonson
Yeah looking at the actual code that both FORMAT and ED call (not in AE) it 
doesn't have any arguments.
So maybe using AE would be a good option, if someone can peer inside and 
confirm that it can take arguments like this.

I don't see the code for AE in the BP file in uv, where is it?



 

 

 

-Original Message-
From: Marco Rojas Castro rojascastroma...@gmail.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Thu, Nov 29, 2012 11:24 am
Subject: Re: [U2] BFORMAT


Hi
Use FORMAT command in AE (alternative editor)

Example:

FORMAT -MARGIN 6 -INDENT 3

Regards, Marco

2012/11/28 dennis bartlett dqbartl...@gmail.com

 Hi

 Does anybody have a working copy of BFORMAT - I downloaded it from some
 useful site a long time back and modded it to work for modern UniVerse, but
 somewhere along the line (one late night) I have introduced some bugs I
 don't have time to go fix.. so before I do, maybe someone out there already
 has a BASIC formatting program that will allow me to only have an indent of
 2 spaces instead of the usual 6?

 Anyone?

 Thanks

 Dennis
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

 
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] BFORMAT

2012-11-29 Thread Wjhonson

 By the way, I don't see why ED couldn't be easily modded to allow arguments to 
FORMAT.
The main referrent is line 531, but the INPUT.LINE or ORIGINAL.CMD could be 
parsed to find the arguments

 

 

-Original Message-
From: Wjhonson wjhon...@aol.com
To: u2-users u2-users@listserver.u2ug.org
Sent: Thu, Nov 29, 2012 11:33 am
Subject: Re: [U2] BFORMAT


Yeah looking at the actual code that both FORMAT and ED call (not in AE) it 
doesn't have any arguments.
So maybe using AE would be a good option, if someone can peer inside and 
confirm 
that it can take arguments like this.

I don't see the code for AE in the BP file in uv, where is it?



 

 

 

-Original Message-
From: Marco Rojas Castro rojascastroma...@gmail.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Thu, Nov 29, 2012 11:24 am
Subject: Re: [U2] BFORMAT


Hi
Use FORMAT command in AE (alternative editor)

Example:

FORMAT -MARGIN 6 -INDENT 3

Regards, Marco

2012/11/28 dennis bartlett dqbartl...@gmail.com

 Hi

 Does anybody have a working copy of BFORMAT - I downloaded it from some
 useful site a long time back and modded it to work for modern UniVerse, but
 somewhere along the line (one late night) I have introduced some bugs I
 don't have time to go fix.. so before I do, maybe someone out there already
 has a BASIC formatting program that will allow me to only have an indent of
 2 spaces instead of the usual 6?

 Anyone?

 Thanks

 Dennis
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

 
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

 
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] BFORMAT

2012-11-29 Thread dennis bartlett

 Seriously though, the original poster's question was whether anyone had
 the source code for a Format program. On UniVerse you will find the source
 code for both the FORMAT verb (which calls the FORMAT.BASIC subroutine in
 files BP and APP.PROGS. The fromnt end for the FORMAT and FANCY.FORMAT
 verbs are named FORMAT.B (this is where you would change the default
 parameters for margins, etc.) and the code in APP.PROGS is named
 FMT.BASIC.B.

 Yoou can change the source for either (or both) of those items to make
 them work whatever way you want. Just make sure you understand how to
 globally catalog them properly, particularly the one in APP.PROGS which
 must be globally cataloged as -FORMAT.BASIC

 The built in FORMAT (and FANCY.FORMAT) command from within ED will then
 work as you want or the version of the verb FORMAT from will work as you
 want.


Allen, this is a technical forum, therefore your propensity to be with me
is irrelevant. Thank you for this detail - I didn't know this (grew up in
other 'pick' systems - JBase,Revelation,tho sometime in history I worked in
UniVerse).
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] BFORMAT

2012-11-29 Thread dennis bartlett

 Anyway, this all seems way beyond the scope of the original poster's
 question.

 *Original poster* has source code that goes way deep in
 if/then/else/case so that error messages end up off the page -- reducing
 the indent to 2, and starting at col 3 makes this better.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] BFORMAT

2012-11-29 Thread dennis bartlett

 Use FORMAT command in AE (alternative editor)

 Example:

 FORMAT -MARGIN 6 -INDENT 3


 Awesome! Thanks, just what I need!
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users