RE: [U2] How to Default NO.RETURN.WARN in Universe
This works for me. I believe I tried to issue this on the command line, but I had the syntax wrong. What Im doing is compiling the whole account (1000+ programs) and it becomes a pain to keep hitting 'any key' for the RETURN warnings. So, this works fine doing BASIC BP * +$NO.RETURN.WARN. Thanks for the tip Anthony -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Womack, Adrian Sent: Thursday, October 06, 2005 10:59 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] How to Default NO.RETURN.WARN in Universe We use +$NO.RETURN.WARN (along with a bunch of other options) on the BASIC command line for ALL programs, subroutines and functions (we've actually wrapped BASIC - so no one actually types in the options). DISCLAIMER: Disclaimer. This e-mail is private and confidential. If you are not the intended recipient, please advise us by return e-mail immediately, and delete the e-mail and any attachments without using or disclosing the contents in any way. The views expressed in this e-mail are those of the author, and do not represent those of this company unless this is clearly indicated. You should scan this e-mail and any attachments for viruses. This company accepts no liability for any direct or indirect damage or loss resulting from the use of any attachments to this e-mail. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.13/123 - Release Date: 10/6/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.13/123 - Release Date: 10/6/2005 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] How to Default NO.RETURN.WARN in Universe
I may be wrong but I seem to remember that if you hit N at any warning no further hit any key will be prompted for. Louis - Original Message - From: Anthony Dzikiewicz [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Friday, October 07, 2005 7:00 PM Subject: RE: [U2] How to Default NO.RETURN.WARN in Universe : This works for me. I believe I tried to issue this on the command line, : but I had the syntax wrong. : What Im doing is compiling the whole account (1000+ programs) and it : becomes a pain to keep hitting 'any key' for the RETURN warnings. So, : this works fine doing BASIC BP * +$NO.RETURN.WARN. : : Thanks for the tip : : Anthony : : -Original Message- : From: [EMAIL PROTECTED] : [mailto:[EMAIL PROTECTED] On Behalf Of Womack, Adrian : Sent: Thursday, October 06, 2005 10:59 PM : To: u2-users@listserver.u2ug.org : Subject: RE: [U2] How to Default NO.RETURN.WARN in Universe : : : We use +$NO.RETURN.WARN (along with a bunch of other options) on the : BASIC command line for ALL programs, subroutines and functions (we've : actually wrapped BASIC - so no one actually types in the options). : : : : DISCLAIMER: : Disclaimer. This e-mail is private and confidential. If you are not the : intended recipient, please advise us by return e-mail immediately, and : delete the e-mail and any attachments without using or disclosing the : contents in any way. The views expressed in this e-mail are those of the : author, and do not represent those of this company unless this is : clearly indicated. You should scan this e-mail and any attachments for : viruses. This company accepts no liability for any direct or indirect : damage or loss resulting from the use of any attachments to this e-mail. : --- : u2-users mailing list : u2-users@listserver.u2ug.org : To unsubscribe please visit http://listserver.u2ug.org/ : : -- : No virus found in this incoming message. : Checked by AVG Anti-Virus. : Version: 7.0.344 / Virus Database: 267.11.13/123 - Release Date: : 10/6/2005 : : : -- : No virus found in this outgoing message. : Checked by AVG Anti-Virus. : Version: 7.0.344 / Virus Database: 267.11.13/123 - Release Date: : 10/6/2005 : --- : u2-users mailing list : u2-users@listserver.u2ug.org : To unsubscribe please visit http://listserver.u2ug.org/ : : --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] How to Default NO.RETURN.WARN in Universe
Yes you're right. I never knew about that one. It works just as well. Thanks Anthony -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Louis Windsor Sent: Friday, October 07, 2005 7:55 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] How to Default NO.RETURN.WARN in Universe I may be wrong but I seem to remember that if you hit N at any warning no further hit any key will be prompted for. Louis - Original Message - From: Anthony Dzikiewicz [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Friday, October 07, 2005 7:00 PM Subject: RE: [U2] How to Default NO.RETURN.WARN in Universe : This works for me. I believe I tried to issue this on the command line, : but I had the syntax wrong. : What Im doing is compiling the whole account (1000+ programs) and it : becomes a pain to keep hitting 'any key' for the RETURN warnings. So, : this works fine doing BASIC BP * +$NO.RETURN.WARN. : : Thanks for the tip : : Anthony : : -Original Message- : From: [EMAIL PROTECTED] : [mailto:[EMAIL PROTECTED] On Behalf Of Womack, Adrian : Sent: Thursday, October 06, 2005 10:59 PM : To: u2-users@listserver.u2ug.org : Subject: RE: [U2] How to Default NO.RETURN.WARN in Universe : : : We use +$NO.RETURN.WARN (along with a bunch of other options) on the : BASIC command line for ALL programs, subroutines and functions (we've : actually wrapped BASIC - so no one actually types in the options). : : : : DISCLAIMER: : Disclaimer. This e-mail is private and confidential. If you are not the : intended recipient, please advise us by return e-mail immediately, and : delete the e-mail and any attachments without using or disclosing the : contents in any way. The views expressed in this e-mail are those of the : author, and do not represent those of this company unless this is : clearly indicated. You should scan this e-mail and any attachments for : viruses. This company accepts no liability for any direct or indirect : damage or loss resulting from the use of any attachments to this e-mail. : --- : u2-users mailing list : u2-users@listserver.u2ug.org : To unsubscribe please visit http://listserver.u2ug.org/ : : -- : No virus found in this incoming message. : Checked by AVG Anti-Virus. : Version: 7.0.344 / Virus Database: 267.11.13/123 - Release Date: : 10/6/2005 : : : -- : No virus found in this outgoing message. : Checked by AVG Anti-Virus. : Version: 7.0.344 / Virus Database: 267.11.13/123 - Release Date: : 10/6/2005 : --- : u2-users mailing list : u2-users@listserver.u2ug.org : To unsubscribe please visit http://listserver.u2ug.org/ : : --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] How to Default NO.RETURN.WARN in Universe
K-mode verbs are unrelated. K means keep Select List. See Administering UniVerse, chapter 18 (at least for version 10). I'm not aware of any global solution, apart from running sed or awk across your source code and replacing all RETURN statements with RETURN(0), or inserting $OPTIONS, where the file contains an external FUNCTION (but not for SUBROUTINES). --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] How to Default NO.RETURN.WARN in Universe
We use +$NO.RETURN.WARN (along with a bunch of other options) on the BASIC command line for ALL programs, subroutines and functions (we've actually wrapped BASIC - so no one actually types in the options). DISCLAIMER: Disclaimer. This e-mail is private and confidential. If you are not the intended recipient, please advise us by return e-mail immediately, and delete the e-mail and any attachments without using or disclosing the contents in any way. The views expressed in this e-mail are those of the author, and do not represent those of this company unless this is clearly indicated. You should scan this e-mail and any attachments for viruses. This company accepts no liability for any direct or indirect damage or loss resulting from the use of any attachments to this e-mail. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] How to Default NO.RETURN.WARN in Universe
oo! OO! I know! I KNOW! : Don't use GOSUB. Only program with GOTOs. Problem solved. If you insist on using GOSUBs instead of GOTOs, then what Ray said. Don't specify it until after main routine is done and gosubs begin: 01: FUNCTION ANTHONY( INARG1, INARG2 ) 02: GOSUB ABC 03: GOSUB XYZ 04: RETURN( OUTARG )--- warning is on (by default) 05: $OPTIONS NO.RETURN.WARN ;* internal subroutines from here on. 06: ABC: . . . 07: RETURN --- warning is off 08: XYZ: . . . 09: RETURN --- '''' '' 10:END --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/