Re: [U2] [UV] GOSUB variable-name?

2006-02-17 Thread Serguei
in place. George -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Serguei Sent: Thursday, February 16, 2006 4:53 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [UV] GOSUB variable-name? There is much better OOP-style solution

Re: [U2] [UV] GOSUB variable-name?

2006-02-17 Thread Serguei
variable-name? On 14 Feb 2006, Serguei [EMAIL PROTECTED] wrote: Why not instead of CALL SomeProg('GetCustomerBalance',...) and CALL SomeProg('PaintScreen',...) do: CALL GetCustomerBalance Call PaintScreen On 16 Feb 2006, Serguei [EMAIL PROTECTED] wrote: ... never again anywhere

Re: [U2] [UV] GOSUB variable-name?

2006-02-17 Thread Serguei
?? George -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Thursday, February 16, 2006 10:35 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [UV] GOSUB variable-name? On 14 Feb 2006, Serguei [EMAIL PROTECTED] wrote

Re: [U2] [UV] GOSUB variable-name?

2006-02-17 Thread Serguei
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, February 16, 2006 7:35 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [UV] GOSUB variable-name? On 14 Feb 2006, Serguei [EMAIL PROTECTED] wrote: Why not instead of CALL SomeProg

Re: [U2] [UV] GOSUB variable-name?

2006-02-16 Thread Serguei
There is much better OOP-style solution to the file variable problem. Create a named COMMON that is defined in one program only - the program responsible for reading/writing a record of the data. It will open file when it first needed if it is not opened yet and do the writing. And never again

Re: [U2] [UV] GOSUB variable-name?

2006-02-16 Thread Serguei
anything by not having it built in. - Original Message - From: Serguei [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Wednesday, February 15, 2006 4:03 AM Subject: Re: [U2] [UV] GOSUB variable-name? You not an OOP expect, are you? I have been using OOP since it appeared

Re: [U2] [UV] GOSUB variable-name?

2006-02-15 Thread Serguei
of display and storing information. It's only when using windows tools that they will settle for what they get because they have no choice. - Original Message - From: Serguei [EMAIL PROTECTED] One of those limitation - no OOP. --- u2-users mailing list u2-users

Re: [U2] [UV] GOSUB variable-name?

2006-02-14 Thread Serguei
Why not instead of CALL SomeProg('GetCustomerBalance',...) and CALL SomeProg('PaintScreen',...) do: CALL GetCustomerBalance Call PaintScreen Another rule of structural programming - every program can have only one purpose :). Unfortunately in case of U2 sometimes we have to live with the

Re: [U2] [UV] GOSUB variable-name?

2006-02-13 Thread Serguei
The problem here is that in case of passing the GUSUB name as a parameter the calling program should know the structure of the program been called (e.g. that there is a GOSUB inside). This contradicts the structural programming idea of a program been a black box. - Original Message -

Re: [U2] [UV] GOSUB variable-name?

2006-02-13 Thread Serguei
It is always wrong to specify directly in a calling program which branch the execution should take in a program that is called. It does not matter whether it is using GOSUB @variable or CASE statement. It is also wrong to pass into the called program the information from where it is been called.

Re: [U2] [UV] GOSUB variable-name?

2006-02-10 Thread Serguei
This approach is absolutely awful from software design point of view. I personally would hate to have to support software when it is the calling program that decides the flow of the program that is been called. Do you really need this? - Original Message - From: Barry Brevik [EMAIL

Re: [U2] DCOUNT

2006-01-06 Thread Serguei
I personally would even write it like this if I am sure the number of values is no more then ten: FOR I=1 TO DCOUNT(REC15,@VM) (and of course I would not use number as a field position) - Original Message - From: Mark Johnson [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent:

Re: [U2] Running Uniobjects from a web server

2005-12-23 Thread Serguei
but one has to think about sharing connections among users. Serguei - Original Message - From: Gahan, Mick [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Thursday, December 22, 2005 3:20 PM Subject: [U2] Running Uniobjects from a web server A quick question from a UniObjects

Re: [U2] Redback - What are you using to develop your web pages? JavaScript? PHP? .Net?

2005-10-12 Thread Serguei
We did investigate Redback but decided against it. We are using Java and uniObjects with a servlet engine. Currently we have the whole of the application interface converted to the browser interface and we are quite happy with the result. - Original Message - From: Ralph Burton [EMAIL

Re: [U2] more serious notes on GOTO

2005-10-06 Thread Serguei
] more serious notes on GOTO Richard Taylor wrote: Serguei wrote: From my experience working with a team of different developers this is the worst possible and a very selfish scenario a developer might choose to follow. While I agree with you in principle, reality sets in real quick

Re: [U2] the 4 letter word

2005-10-05 Thread Serguei
and His Band of Renown on 78 once in a while. Larry Hiscock Western Computer Services -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Serguei Sent: Tuesday, October 04, 2005 9:57 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] the 4 letter

Re: [U2] the 4 letter word

2005-10-05 Thread Serguei
And the next thing GOTO supporters will try to prove to us is that the smoking is good for you? :) - Original Message - From: Bruce Nichol [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Wednesday, October 05, 2005 3:58 AM Subject: RE: [U2] the 4 letter word Goo'day, Stuart,

Re: [U2] the 4 letter word

2005-10-04 Thread Serguei
Using GOTO properly is using it in languages that cannot be programmed without GOTO. For example Fortran 4 or original Basic. Using it e.g. in Fortran 77 or in UniBasic would already be not a proper use. The same as playing records on crank record player would be good idea if you have no electric

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Serguei
of the rules while others allow to do whatever the developer feels like doing. Serguei - Original Message - From: Mark Johnson [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Friday, September 30, 2005 3:22 AM Subject: Re: [U2] Good Programming Practice Question

Re: [U2] Good Programming Practice Question.........

2005-09-30 Thread Serguei
tricky looking code. Thanks. - Original Message - From: Serguei Poliakov [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Thursday, September 29, 2005 5:09 AM Subject: Re: [U2] Good Programming Practice Question. I thinks the better to say - if the code looks tricky

Re: [U2] Source Code Management

2005-09-30 Thread Serguei
We too used RCS for some time later moving to Microsoft Source Safe (our developers work on Windows). We don't have anything special made for it - we simply have Work directory set to a developer's account. It is easier for us as we have a in-house developed editor for uniBasic that understands

Re: AW: [U2] Good Programming Practice Question.........

2005-09-29 Thread Serguei
There is no reason to lock details if the header is locked (you would not want two users to modify the same invoice). So the correct procedure is not to lock details at all. - Original Message - From: Dave S [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Thursday, September 29,

Re: [U2] Failure of Uniobjects subroutine call

2005-08-10 Thread Serguei Poliakov
Check date conversion routines (if you pass the date in output format). If you system is set to use European date format when the program is called from uniObjects the process would use American date format. Serguei - Original Message - From: Sunny Matharoo [EMAIL PROTECTED] To: u2