Here is my stab at it. One person described it as the opposite of OO.
So something similar to ->
<?php
do_this() {
   // do this code
}

do_that() {
    // do that code
}

if (isset( $_GET['foo'] )) {
    do_this();
} else {
    do_that();
}

?>

would be considered "procedural code".
If Im wrong I stand corrected....

Michael Sims wrote:

>On Sat, 31 Aug 2002 14:04:11 -0400, you wrote:
>
>  
>
>>And I feel foolish asking...
>>What is meant by 'procedural code' ???
>>    
>>
>
>It's the opposite of "declarative code".  Here's a page that briefly
>explains the difference:
>
><http://www.wdvl.com/Authoring/DB/SQL/BeginSQL/beginSQL2_1.html>
>
>and
>
><http://www.wdvl.com/Authoring/DB/SQL/BeginSQL/beginSQL2_2.html>
>
>There may be other contexts that the term "procedural" could be used
>in, and if so it may have other meanings that I am not aware of....
>
>
>  
>

-- 
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to