It generates a variable cross reference listing which gives you a list of all variables and labels in your program along with and the lines on which they are referenced in your program, I believe it even identifies lines where the variables are assigned to ( as opposed to just being referenced )
-----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 it with -Z2, run the program in debug and put a trace on A. On 26/01/2012 21:22, u2ug wrote: > 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: > > 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 IF/THEN equality tests > in the mix, but you'd have the exact same issue if the variable were > named I.LIKE.TO.USE.VERY.LOOONG.VARIABLE.NAMES. You might get more > false positives with A if you also have variables like AA, AAA, BA, > etc., but one can only hope any programmer that incompetent would get > fired before 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 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. > _______________________________________________ > 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