Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FName, LName formatting routine

0 views
Skip to first unread message

Vincent Alexander

unread,
Feb 23, 2001, 3:47:56 PM2/23/01
to
I find this...

fval := (length(fname) > 0);

easier to read than

if length(FName) > 0 then FVal:=True else FVal:=False;
if length(LName) > 0 then LVal:=True else LVal:=False;

...but the first way might be better for obfuscation purposes. :-)

In article <8ts6fu$a6...@bornews.borland.com>, ow...@spamfreeunique.com
says...
> > I'm having fun just trying to figure it out right now! First time I've
> seen
> > someone use an "xor" since hardware programming (in C) in school.
>
> 'Tis a wonderful operator <g>.
>
> You know they have those obsfucated C competitions? Perhaps there should be
> an OP one as well :-)
>
>
>

0 new messages