FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » AND and OR
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: AND and OR [message #182608 is a reply to message #182605] Sat, 17 August 2013 18:05 Go to previous messageGo to previous message
bill is currently offline  bill
Messages: 310
Registered: October 2010
Karma:
Senior Member
On 2013-08-17 1:47 PM, Richard Yates wrote:
> On Sat, 17 Aug 2013 15:36:22 +0100, The Natural Philosopher
> <tnp(at)invalid(dot)invalid> wrote:
>
....
>
> I'm down to an error rate of 30% on = instead of == in if clauses.
>
>> ...purely to seed up typograhical debugging.
>
> I guess it doesn't work on Usenet.
>

Maybe I can offer a possible help for some of that. If you editor
allows you to, create clips or libraries so when you click them, they'll
enter for you:
?PHP>

?>

or

HTML comment:
<!-- -->

PHP Comment Start:
if() === "" ) {

}

and it's especially useful for anything of more than a few characters,
like $referrer, session functions, etc etc etc.

and so forth. By entering everything but the var & what goes between the
"", you at least know all the surrounding code is current.

Also things like: <!DOCTYPE html> , <form action =, name=, et al
including the end form & end HTML. It has a lot of uses once you create
your own library or clip code.

There are of course complete libraries availble for PHP and HTML, C, and
more, but in general I seldom use them unless I need to look up
something I haven't done before. One does of course need to have the
disclipine to update the clip/library as early as possible and to
delete/replace the ones that are needed.
It speeds up coding like nobody's business once it's set with your
own often used or lengthy pieces of code.

Cheers,

Twayne`
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Function Problem
Next Topic: switch with case 0
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 07 00:11:14 GMT 2024

Total time taken to generate the page: 0.06094 seconds