: 26 January 2012 20:59
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Passing by Value
Mecki you're not paying attention.
You have an 8000 line program that uses a variable A
You didn't write it. You need to find where that variable is assigned.
You search for A ?
That's not going to work
Hi all,
I asked the Rocket Software guys to have LOCAL variables... but nothing...
Someone from the UV development team once told me that the Basic compiler
has the concept of local variables for internal subroutines but it has not
been released. I don't know why. We did it for QM and it
I recognized Will's troll from his first post and was tempted to
comment but thought that would just stir up more OT discussion.
And yet it continues anyway.
Don't you guys recognize the pattern here? He'll keep changing
the scenario, adding road blocks and confusing arguments that
make proposals
Tony your comments are unprofessional.
-Original Message-
From: Tony Gravagno 3xk547...@sneakemail.com
To: u2-users u2-users@listserver.u2ug.org
Sent: Fri, Jan 27, 2012 10:13 am
Subject: Re: [U2] Passing by Value
I recognized Will's troll from his first post and was tempted
, Jan 27, 2012 11:25 am
Subject: Re: [U2] Passing by Value
And yet I agree with him, too. You take advantage of the generosity of
he folks on this list with what appears to be a main motivation of
tirring up a conversation just for the sake of seeing how many
ifferent directions you can twist things
of a thousand
forever's.
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Friday, January 27, 2012 10:21 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Passing by Value
Tony your comments
G-man:
You having a bad day? :-)
Bill Haskett
- Original Message -
*From:* 3xk547...@sneakemail.com
*To:* u2-users@listserver.u2ug.org
*Date:* 1/27/2012 10:12 AM
*Subject:* Re: [U2] Passing by Value
I recognized
From: Bill Haskett
G-man:
You having a bad day? :-)
No bro, I just don't like seeing good people being abused ...
again. I'm just glad I'm not the only one who sees it.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
No one is forced to respond to any message Tony.
In fact no one is forced to read any of them.
-Original Message-
From: Tony Gravagno 3xk547...@sneakemail.com
To: u2-users u2-users@listserver.u2ug.org
Sent: Fri, Jan 27, 2012 1:23 pm
Subject: Re: [U2] Passing by Value
From: Bill
On 26/01/12 21:26, Mecki Foerthmann wrote:
What does -X do?
Sorry if this has already been answered, but I guess it's what I know as
XREF.
It creates a listing of all the variables used, including the lines on
which they are used.
I'd probably compile it with -Z2, run the program in
Thanks, I'll try it out next time I'm chasing a variable.
On 27/01/2012 22:52, Wols Lists wrote:
On 26/01/12 21:26, Mecki Foerthmann wrote:
What does -X do?
Sorry if this has already been answered, but I guess it's what I know
as XREF.
It creates a listing of all the variables used,
I 100% agree with you Tony.
I really feel put off by the arrogant attitude in his replies.
First asking bloody beginner's questions and then accusing seasoned
professionals when they offer a (free) solution that they don't know
what they're talking about.
Who does this guy think he is?
I
are corrected, you were right
anyway.
-Original Message-
From: Mecki Foerthmann mec...@gmx.net
To: u2-users u2-users@listserver.u2ug.org
Sent: Fri, Jan 27, 2012 3:40 pm
Subject: Re: [U2] Passing by Value
I 100% agree with you Tony.
really feel put off by the arrogant attitude in his replies
It is not clear to me why Passing By Value is worth anything.
I am surprised that this thread has led to so many responses... most... I did
not read.
From here... having a variable with a name... and calling an external
subroutine... is all the bread and butter that I would ever need.
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Brutzman
Sent: Friday, January 27, 2012 7:52 PM
To: U2 Users List
Subject: Re: [U2] Passing by Value 101 ?
It is not clear to me why Passing By Value is worth anything.
I am surprised that this thread has led to so many responses
Unidata 7.1
I think this has come up before (side question: how do you search the
archives?)... I think it is possible to pass a parameter by value instead of
by reference. This, of course, means that any changes to the parameter in the
called subroutine are localized and its original value
Put the variable in parentheses to pass by value, e.g.
CALL MYSUB((VAR1))
rex
On Thu, Jan 26, 2012 at 9:39 AM, Kebbon Irwin kebbon.ir...@sympatico.ca wrote:
Unidata 7.1
I think this has come up before (side question: how do you search the
archives?)... I think it is possible to pass a
Subject: [U2] Passing by Value
Unidata 7.1
I think this has come up before (side question: how do you search the
archives?)... I think it is possible to pass a parameter by value instead of
by reference. This, of course, means that any changes to the parameter in the
called subroutine
, Hardingstone, Northampton NN4 6DB, England
+44 (0)1604-709200
-Original Message-
From: Kebbon Irwin
Sent: Thursday, January 26, 2012 2:39 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Passing by Value
Unidata 7.1
I think this has come up before (side question: how do you search
CALL SUBNAME( IVAR+0 , AVAR: )
From: Kebbon Irwin
I think it is possible to pass a
parameter by value instead of by reference.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
Very sly.
-Original Message-
From: Tony Gravagno 3xk547...@sneakemail.com
To: u2-users u2-users@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 7:17 am
Subject: Re: [U2] Passing by Value
CALL SUBNAME( IVAR+0 , AVAR: )
From: Kebbon Irwin
I think it is possible to pass a
parameter
-John
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Martin
Phillips
Sent: Thursday, January 26, 2012 6:47 AM
To: U2 Users List
Subject: Re: [U2] Passing by Value
Hi,
It is possible from the calling side, simply
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Hester
Sent: Thursday, January 26, 2012 9:56 AM
To: U2 Users List
Subject: Re: [U2] Passing by Value
Well, that's a neat trick I've never known about. Once again, this list
proves it's an invaluable resource.
I've always done
3xk547...@sneakemail.com
To: u2-users u2-users@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 7:17 am
Subject: Re: [U2] Passing by Value
CALL SUBNAME( IVAR+0 , AVAR: )
From: Kebbon Irwin
I think it is possible to pass a
parameter by value instead of by reference
On a related note, any clever ideas to localize a variable to a local
subroutine?
For I = 1 to 10
GOSUB PROCESS
Next I
Stop
3000 Lines of code later
PROCESS:
FOR I = 1 TO 20
PRINT I
NEXT I
RETURN
___
U2-Users mailing list
By way of naming convention:
FOR PROCESS_I = 1 TO 20
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Thursday, January 26, 2012 1:09 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Passing
...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Thursday, January 26, 2012 11:09 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Passing by Value
On a related note, any clever ideas to localize a variable to a local
subroutine?
For I = 1 to 10
GOSUB
...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Thursday, January 26, 2012 1:26 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Passing by Value
And if your internal subroutine is called
RECONCILE.CUSTOMERS.BUDGET.BALANCE
??
-Original Message-
From: Dave Davis dda
-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Thursday, January 26, 2012 10:09 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Passing by Value
On a related note, any clever ideas to localize a variable to a local
subroutine?
For I = 1 to 10
GOSUB PROCESS
Next I
Stop
You've never worked on programs that are 8000 lines long I take it :)
-Original Message-
From: John Hester jhes...@momtex.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 10:49 am
Subject: Re: [U2] Passing by Value
I like to use increasing roman numerals
: Thursday, January 26, 2012 10:17 AM
To: U2 Users List
Subject: Re: [U2] Passing by Value - Found word(s) list error in the
Text body
By way of naming convention:
FOR PROCESS_I = 1 TO 20
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org
: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Garry Smith
Sent: Thursday, January 26, 2012 2:35 PM
To: U2 Users List
Subject: Re: [U2] Passing by Value - Found word(s) list error in the Text body
Is Mr Davis previously graduated from ASM in 1974
Users List u2-users@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 10:49 am
Subject: Re: [U2] Passing by Value
I like to use increasing roman numerals:
FOR I = 1 TO COUNTER
GOSUB PROCESS
EXT I
PROCESS:
OR II = 1 TO COUNTER2
FOR III = 1 TO COUNTER3
FOR IV = 1 TO COUNTER4
NEXT IV
-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Horacio Pellegrino
Sent: Thursday, January 26, 2012 12:40 PM
To: U2 Users List
Subject: Re: [U2] Passing by Value
I asked the Rocket Software guys to have LOCAL variables... but nothing...
:-(
On Thu, Jan 26
@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 10:49 am
Subject: Re: [U2] Passing by Value
I like to use increasing roman numerals:
FOR I = 1 TO COUNTER
GOSUB PROCESS
EXT I
PROCESS:
OR II = 1 TO COUNTER2
FOR III = 1 TO COUNTER3
FOR IV = 1 TO COUNTER4
NEXT IV
NEXT III
EXT II
ETURN
, and by
the way, the issue is not just counters, but any variable.
-Original Message-
From: Mecki Foerthmann mec...@gmx.net
To: u2-users u2-users@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 12:13 pm
Subject: Re: [U2] Passing by Value
What has the length of the program to do with it?
always abide
, and by
the way, the issue is not just counters, but any variable.
-Original Message-
From: Mecki Foerthmann mec...@gmx.net
To: u2-users u2-users@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 12:13 pm
Subject: Re: [U2] Passing by Value
What has the length of the program to do with it?
always abide
= HOLD.LOCAL.VAR
RETURN
-John
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Thursday, January 26, 2012 12:17 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Passing by Value
Completely wrong
@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 12:13 pm
Subject: Re: [U2] Passing by Value
What has the length of the program to do with it?
always abide to the rule that a for next counter in any internal
ubroutine has to be unique.
hat way even if the sub is called from within a for next loop
@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 12:55 pm
Subject: Re: [U2] Passing by Value
No, you are completely wrong if you think that is only your world.
ho in our game has the luxury working only with their own code?
have been doing what you describe for over 25 years now and probably
ost
...@gmx.net
To: u2-usersu2-users@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 12:13 pm
Subject: Re: [U2] Passing by Value
What has the length of the program to do with it?
always abide to the rule that a for next counter in any internal
ubroutine has to be unique.
hat way even if the sub is called from
.
-Original Message-
From: Mecki Foerthmannmec...@gmx.net
To: u2-usersu2-users@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 12:55 pm
Subject: Re: [U2] Passing by Value
No, you are completely wrong if you think that is only your world.
ho in our game has the luxury working only with their own
500 lines of code
ENTER PROGRAMB
It's magic. No one uses it anymore.
-Original Message-
From: Charlie Noah cwn...@comcast.net
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 1:01 pm
Subject: Re: [U2] Passing by Value
Hi Mecki,
I remember those 32K limits. I
Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Thursday, January 26, 2012 12:59 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Passing by Value
Mecki you're not paying attention.
You have an 8000 line program
for A ?
That's not going to work.
-Original Message-
From: Mecki Foerthmannmec...@gmx.net
To: u2-usersu2-users@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 12:55 pm
Subject: Re: [U2] Passing by Value
No, you are completely wrong if you think that is only your world.
ho in our game has the luxury
I have another solution. Interesting no one has mentioned it yet.
-Original Message-
From: John Hester jhes...@momtex.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 1:16 pm
Subject: Re: [U2] Passing by Value
One of these searches should eventually work
counters are
unique, and by the way, the issue is not just counters, but any
variable.
-Original Message-
From: Mecki Foerthmannmec...@gmx.net
To: u2-usersu2-users@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 12:13 pm
Subject: Re: [U2] Passing by Value
What has the length of the program
-users@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 1:16 pm
Subject: Re: [U2] Passing by Value
Are you trying to be funny?
ho in his or her right mind would use 1 letter variables in a 8000 line
rogram except maybe as loop counter or as throw away variables?
nd you have just explained why
BASIC -X !!!
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Hester
Sent: Thursday, January 26, 2012 4:16 PM
To: U2 Users List
Subject: Re: [U2] Passing by Value
One of these searches should eventually work
: Thursday, January 26, 2012 4:16 PM
To: U2 Users List
Subject: Re: [U2] Passing by Value
One of these searches should eventually work:
L A=
L A =
L A=
L A =
Unless the original author used some kind of ridiculous syntaxt like:
A = 500
Granted, you're also going to get results for any
didn't write it. You need to find where that variable is assigned.
You search for A ?
That's not going to work.
-Original Message-
From: Mecki Foerthmann mec...@gmx.net
To: u2-users u2-users@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 12:55 pm
Subject: Re: [U2] Passing by Value
they could leave behind too much code like that.
-John
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Thursday, January 26, 2012 12:59 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Passing
I posted a partial copy of a program written many 25 years ago that we
still maintain with a wonderful variables named like BIT. Not sure what it
does except you set it zero or one and it referenced all over the place.
This program has other gems like ATT which are screen positions
and plethora
Line 1154 will never be hit.
-Original Message-
From: Doug Averch dave...@gmail.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 2:11 pm
Subject: Re: [U2] Passing by Value
I posted a partial copy of a program written many 25 years ago that we
till
)
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Mecki
Foerthmann
Sent: Thursday, January 26, 2012 4:27 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Passing by Value
What does -X do?
I'd probably compile
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Doug Averch
Sent: Thursday, January 26, 2012 2:12 PM
To: U2 Users List
Subject: Re: [U2] Passing by Value
I posted a partial copy of a program written many 25 years ago that we
still maintain with a wonderful variables named like BIT
No RETURN TOs !!!
So I think you'd get beat.
-Original Message-
From: John Hester jhes...@momtex.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Thu, Jan 26, 2012 2:56 pm
Subject: Re: [U2] Passing by Value
We still maintain some AR code written in 1979 which I will put
: Thursday, January 26, 2012 2:12 PM
To: U2 Users List
Subject: Re: [U2] Passing by Value
I posted a partial copy of a program written many 25 years ago that we
still maintain with a wonderful variables named like BIT. Not sure what
it does except you set it zero or one and it referenced all over the
place
, January 26, 2012 3:03 PM
To: U2 Users List
Subject: Re: [U2] Passing by Value
I think that code started out in Either Bellevue or Denver right?
any calls to the PCD (prompt control definition)
yep, still supporting and actively enhancing for a couple of clients
Rich
John Hester wrote:
We still
: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Richard A.
Wilson
Sent: Thursday, January 26, 2012 3:03 PM
To: U2 Users List
Subject: Re: [U2] Passing by Value
I think that code started out in Either Bellevue or Denver right?
any calls to the PCD
60 matches
Mail list logo