OK, that 'splains it... I'm gonna make it simple and name it anything but RATE <g>...
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of MikeB Sent: Monday, March 21, 2005 6:18 PM To: RBG7-L Mailing List Subject: [RBG7-L] - Re: Reserved Words Ok.. RATE was a bad example because of RATE1, RATE2, and RATE3 being Reserved words, but the rule still applies that you could use RATE1x, RATE2x, or RATE3x, where x is another character without any conflicts. ----- Original Message ----- From: "claudinerobbins" <[EMAIL PROTECTED]> To: "RBG7-L Mailing List" <[email protected]> Sent: Monday, March 21, 2005 7:08 PM Subject: [RBG7-L] - Re: Reserved Words > I said RStyle highlights "it" meaning RATE. > > Are you saying that RATE1 can be used although it is used in a function? > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of MikeB > Sent: Monday, March 21, 2005 5:57 PM > To: RBG7-L Mailing List > Subject: [RBG7-L] - Re: Reserved Words > > I'm thinking you are confusing the rule (or I am?). > > AFAIK, You wouldn't want to name anything 3 or 4 characters total length > that > would be the first 3 or 4 characters of a reserved word, as you know RBase > interprets that as the full length reserved word, but you could use the > first 3 > or 4 characters of any reserved word as long as an additional character was > added that distinguished it from the Reserved word. > > Let's use the RATE example. > > You would NOT want to name a column or object RAT or RATE, but RAT1 or RATE1 > would be acceptable. > > I don't know how Claudine thought that RATE1 was highlighted in RBE. > > It does not highlight in mine, nor does RAT, RAT1, or RATE1. > RATE by itself is the only thing that highlights. > > > ----- Original Message ----- > From: "Alastair Burr" <[EMAIL PROTECTED]> > To: "RBG7-L Mailing List" <[email protected]> > Sent: Monday, March 21, 2005 6:44 PM > Subject: [RBG7-L] - Re: Reserved Words > > > > Mike, > > > > I thought that you had to keep the first 4 characters unique/different > from > > reserved words - or has that changed without my noticing it? > > > > At the same time, RATE1/2/3 obviously have 5 but the first 4 are the same > - > > so I'm confused. > > > > Regards, > > Alastair. > > > > > > ----- Original Message ----- > > From: "MikeB" <[EMAIL PROTECTED]> > > To: "RBG7-L Mailing List" <[email protected]> > > Sent: Monday, March 21, 2005 11:27 PM > > Subject: [RBG7-L] - Re: Reserved Words > > > > > > > But...... Rate1 <> Rate... > > > > > > You can take any RBase Reserved word and add 1 letter to it and RBase > > won't > > > complain because they are not equivlent... > > > > > > ----- Original Message ----- > > > From: "claudinerobbins" <[EMAIL PROTECTED]> > > > To: "RBG7-L Mailing List" <[email protected]> > > > Sent: Monday, March 21, 2005 6:23 PM > > > Subject: [RBG7-L] - Re: Reserved Words > > > > > > > > > > Alastair, > > > > > > > > Yes, I was thinking the same thing, better safe than sorry... > > > > > > > > Thanks :) > > > > > > > > -----Original Message----- > > > > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Alastair > > Burr > > > > Sent: Monday, March 21, 2005 4:59 PM > > > > To: RBG7-L Mailing List > > > > Subject: [RBG7-L] - Re: Reserved Words > > > > > > > > Claudine, > > > > > > > > These are 3 functions that give interest rates - I would advise you > not > > to > > > > use RATE if you can avoid it. It may work for you now but in the > > future... > > > > > > > > Regards, > > > > Alastair. > > > > > > > > ----- Original Message ----- > > > > From: "claudinerobbins" <[EMAIL PROTECTED]> > > > > To: "RBG7-L Mailing List" <[email protected]> > > > > Sent: Monday, March 21, 2005 10:37 PM > > > > Subject: [RBG7-L] - Reserved Words > > > > > > > > > > > > > RATE1, RATE2 and RATE3 are reserved words, and even though RATE is > not > > on > > > > > the list, RStyle highlights it as if it were. Does anyone know if > > there is > > > > > any danger in using this for a field name? (inherited from > Oracle...). > > > > > > > > > > TIA, > > > > > > > > > > Claudine :) > > > > > > > > > > > > > > >
