Re: [U2] Passing by Value

2012-01-27 Thread Symeon Breen
: 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

Re: [U2] Passing by Value

2012-01-27 Thread Martin Phillips
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

Re: [U2] Passing by Value

2012-01-27 Thread Tony Gravagno
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

Re: [U2] Passing by Value

2012-01-27 Thread Wjhonson
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

Re: [U2] Passing by Value

2012-01-27 Thread Wjhonson
, 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

Re: [U2] Passing by Value

2012-01-27 Thread Jeff Schasny
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

Re: [U2] Passing by Value

2012-01-27 Thread Bill Haskett
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

Re: [U2] Passing by Value

2012-01-27 Thread Tony Gravagno
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

Re: [U2] Passing by Value

2012-01-27 Thread Wjhonson
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

Re: [U2] Passing by Value

2012-01-27 Thread Wols Lists
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

Re: [U2] Passing by Value

2012-01-27 Thread Mecki Foerthmann
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,

Re: [U2] Passing by Value

2012-01-27 Thread Mecki Foerthmann
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

Re: [U2] Passing by Value

2012-01-27 Thread Wjhonson
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

Re: [U2] Passing by Value 101 ?

2012-01-27 Thread Bill Brutzman
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.

Re: [U2] Passing by Value 101 ?

2012-01-27 Thread u2ug
[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

[U2] Passing by Value

2012-01-26 Thread Kebbon Irwin
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

Re: [U2] Passing by Value

2012-01-26 Thread Rex Gozar
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

Re: [U2] Passing by Value

2012-01-26 Thread Dave Davis
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

Re: [U2] Passing by Value

2012-01-26 Thread Martin Phillips
, 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

Re: [U2] Passing by Value

2012-01-26 Thread Tony Gravagno
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

Re: [U2] Passing by Value

2012-01-26 Thread Wjhonson
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

Re: [U2] Passing by Value

2012-01-26 Thread John Hester
-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

Re: [U2] Passing by Value

2012-01-26 Thread John Hester
[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

Re: [U2] Passing by Value

2012-01-26 Thread Ed Clark
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

Re: [U2] Passing by Value

2012-01-26 Thread Wjhonson
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

Re: [U2] Passing by Value

2012-01-26 Thread Dave Davis
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

Re: [U2] Passing by Value

2012-01-26 Thread David A. Green
...@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

Re: [U2] Passing by Value

2012-01-26 Thread Israel, John R.
...@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

Re: [U2] Passing by Value

2012-01-26 Thread John Hester
-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

Re: [U2] Passing by Value

2012-01-26 Thread Wjhonson
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

Re: [U2] Passing by Value - Found word(s) list error in the Text body

2012-01-26 Thread Garry Smith
: 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

Re: [U2] Passing by Value - Found word(s) list error in the Text body

2012-01-26 Thread Dave Davis
: 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

Re: [U2] Passing by Value

2012-01-26 Thread Horacio Pellegrino
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

Re: [U2] Passing by Value

2012-01-26 Thread Daniel McGrath
-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

Re: [U2] Passing by Value

2012-01-26 Thread Mecki Foerthmann
@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

Re: [U2] Passing by Value

2012-01-26 Thread Wjhonson
, 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

Re: [U2] Passing by Value

2012-01-26 Thread Wjhonson
, 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

Re: [U2] Passing by Value

2012-01-26 Thread John Hester
= 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

Re: [U2] Passing by Value

2012-01-26 Thread Mecki Foerthmann
@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

Re: [U2] Passing by Value

2012-01-26 Thread Wjhonson
@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

Re: [U2] Passing by Value

2012-01-26 Thread Charlie Noah
...@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

Re: [U2] Passing by Value

2012-01-26 Thread Charlie Noah
. -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

Re: [U2] Passing by Value

2012-01-26 Thread Wjhonson
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

Re: [U2] Passing by Value

2012-01-26 Thread John Hester
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

Re: [U2] Passing by Value

2012-01-26 Thread Mecki Foerthmann
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

Re: [U2] Passing by Value

2012-01-26 Thread Wjhonson
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

Re: [U2] Passing by Value

2012-01-26 Thread Mecki Foerthmann
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

Re: [U2] Passing by Value

2012-01-26 Thread Wjhonson
-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

Re: [U2] Passing by Value

2012-01-26 Thread u2ug
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

Re: [U2] Passing by Value

2012-01-26 Thread Mecki Foerthmann
: 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

Re: [U2] Passing by Value

2012-01-26 Thread Doug Averch
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

Re: [U2] Passing by Value

2012-01-26 Thread Mecki Foerthmann
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

Re: [U2] Passing by Value

2012-01-26 Thread Doug Averch
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

Re: [U2] Passing by Value

2012-01-26 Thread Wjhonson
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

Re: [U2] Passing by Value

2012-01-26 Thread u2ug
) -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

Re: [U2] Passing by Value

2012-01-26 Thread John Hester
[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

Re: [U2] Passing by Value

2012-01-26 Thread Wjhonson
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

Re: [U2] Passing by Value

2012-01-26 Thread Richard A. Wilson
: 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

Re: [U2] Passing by Value

2012-01-26 Thread John Hester
, 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

Re: [U2] Passing by Value

2012-01-26 Thread Richard A. Wilson
: 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