Re: (bug?) Macros expanded regardless of %REM ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On May 22, 2001, at 9:30:51 PM, Thomas wrote: NA Why? The Macro was designed to add comments to a Template, and that NA is exactly what it does... and does well. No it doesn't. Thomas, what do you mean it doesn't? I certainly does work as advertised. Write yourself a *paragraph* if you like, include it within the quotation marks in the %REM Macro, and you will see not a word of it is visible when the Template is used. A comment is everything that is commented out. TB ignores the comment status of the argument and executes it anyway. This is a bug. It can only be a bug if it does not do what it was intended to do. Taking the literal meaning from Stef's writing, it allows people to put in a comment about the Template without that comment showing up. That it does. What you want it to do, or think it should do, is something totally different, and perhaps something you should submit as a feature request. A bug? No. A feature with limitations? Yes. ;o) - -- Nick -=N.J. Andriash | Vancouver, B.C. Canada=- [ SecureBat! v1.53 Beta 8/iKey1000 | Win 98 SE 4.10 ] [ PGP 7.1 (Build 174) | Key ID: 0x7BA3FDCE ] ___ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.5 (MingW32) - GnuPGshell v1.77 Comment: [EMAIL PROTECTED] Comment: [EMAIL PROTECTED] iD8DBQE7C9wIxQKEdHuj/c4RAq/cAJ45M5uxJPOIKNloLBRHdjcD3tZkuwCg5g1f lKfVSKEUg+OCrpge9KbeCmk= =FsX3 -END PGP SIGNATURE- -- __ Archives : http://tbbeta.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] You are subscribed as : archive@jab.org
Re: (bug?) Macros expanded regardless of %REM ?
On May 23, 2001, at 9:38:27 AM, Dwight A Corrin wrote: It's a bug. As you say, it's pointless to argue, and with respect to this issue I suppose it boils down to your definition of a comment. To me, it is very simple. It is a line of text... about the Template itself that helps me understand all that is held within that Template... and if I put that comment within the quotation marks of the %REM Macro... it doesn't show. -- Nick -=N.J. Andriash | Vancouver, B.C. Canada=- [ SecureBat! v1.53 Beta 8/iKey1000 | Win 98 SE 4.10 ] [ PGP 7.1 (Build 174) | Key ID: 0x7BA3FDCE ] ___ -- __ Archives : http://tbbeta.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] You are subscribed as : archive@jab.org
Re: (bug?) Macros expanded regardless of %REM ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 23 May 2001 11:38:27 -0500, Dwight wrote these comments: DAC I suppose this is getting to the point where it's just pointless DAC argument, but I submit anyone who has ever written code for a living DAC expects comment lines to not be processed, and that this is a bug. DAC Why should a compiler be trying to interpret or execute comment DAC lines? It should not. You should be able to put anything in there DAC which helps you and others understand your coding now, or years from DAC now, or cause actions to not take place yet leave the code there for DAC later. DAC It's a bug. Agreed!! moderator note On that note I think we could declare this thread dead? :-) Thanks. \moderator note - -- ©Allie C. Martin List Moderator (and fellow registered end-user) Using SecureBat! (v1.53 Beta/8/iKey1000) [OS: Win2K Pro (SP1)] - 'Linux, the choice of a GNU generation.' -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.5 (MingW32) Comment: PGP KeyID: 0x2B0717E2 (PGP sealed for security). iD8DBQE7DAUkV8nrYCsHF+IRAnyGAKC1yiXPKxq0jqfV6DlR/Du+iHxihACguUpM pCZ47G6CvbleXhnOK8eHSbE= =tsE1 -END PGP SIGNATURE- -- __ Archives : http://tbbeta.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] You are subscribed as : archive@jab.org
Re: (bug?) Macros expanded regardless of %REM ?
Hello Nick, On Wed, 23 May 2001 10:41:28 -0700GMT (24/05/2001, 01:41 +0800GMT), Nick Andriash wrote: It's a bug. NA As you say, it's pointless to argue, and with respect to this issue I NA suppose it boils down to your definition of a comment. Correct. And it is very clearly defined in software development what a comment is. Thanks for agreeing with us. :-) -- Cheers, Thomas. Moderator der deutschen The Bat! Beginner Liste. Anmeldung unter: [EMAIL PROTECTED] Message reply created with The Bat! 1.52f under Chinese Windows 98 4.10 Build 1998 with a Pentium II/350 MHz. -- __ Archives : http://tbbeta.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] You are subscribed as : archive@jab.org
Re: (bug?) Macros expanded regardless of %REM ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Nick, On Tue, 22 May 2001 18:19:07 -0700 GMT (23/05/2001, 09:19 +0800 GMT), Nick Andriash wrote: %REM='%INCLUDE=some_file.txt' But Bat! still complains about the missing file! This is wrong as for a %REM behaviour. If you can reproduce it, then we have a bug in here. NA I can reproduce that MaXxX as you have it written, but that is not the NA intended use of the %REM Macro. It is meant for comment lines in a NA Template, and for that purpose it works as advertised. Don't you comment out lines in code when programming sometimes, instead of outright deleting them right away? I think the %REM macro should still ignore the command, and whatever is between the quote marks, as intended by Maxxx. - -- Cheers, Thomas. Moderator der deutschen The Bat! Beginner Liste. Hard work pays off in the future. Laziness pays off now. Message reply created with The Bat! 1.53 Beta/8 under Chinese Windows 98 4.10 Build 1998 using a Celeron 366 MHz, 128MB RAM -BEGIN PGP SIGNATURE- Version: PGP 6.5i Comment: Key ID: 0x79493AEC iQA/AwUBOwq8M2kcopp5STrsEQLp0wCgor9wZ03eWYT4GfbYOr3+kt26nfAAoK6y UIQTKLU7K2cNQm6hF2feWHKC =clke -END PGP SIGNATURE- -- __ Archives : http://tbbeta.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] You are subscribed as : archive@jab.org
Re: (bug?) Macros expanded regardless of %REM ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On May 22, 2001, at 8:21:17 PM, Thomas wrote: I think the %REM macro should still ignore the command, and whatever is between the quote marks Why? The Macro was designed to add comments to a Template, and that is exactly what it does... and does well. You think it should do something in addition to that, but that's not what it was designed for if I understand the Macro's description. - -- Nick -=N.J. Andriash | Vancouver, B.C. Canada=- [ SecureBat! v1.53 Beta 8/iKey1000 | Win 98 SE 4.10 ] [ PGP 7.1 (Build 174) | Key ID: 0x7BA3FDCE ] ___ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.5 (MingW32) - GnuPGshell v1.77 Comment: [EMAIL PROTECTED] Comment: [EMAIL PROTECTED] iD8DBQE7CzhkxQKEdHuj/c4RAomvAKDMuU0yzQDvsm7YOQ47D1kZGmtNGgCgoWJl 7JCxVOSvxpECchZ4M6DsEMY= =JJ65 -END PGP SIGNATURE- -- __ Archives : http://tbbeta.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] You are subscribed as : archive@jab.org