[Javascript] defining functions before they're called

Terry Riegel riegel at clearimageonline.com
Thu Aug 20 19:19:32 CDT 2009


I am pretty sure Pascal was taught (and required) to me that way.

Terry Riegel



On Aug 20, 2009, at 8:03 PM, Paul Novitski <paul at juniperwebcraft.com>  
wrote:

> At 8/20/2009 03:52 PM, Brian L. Matthews wrote:
>> On 8/20/09 12:50 PM, Alexander Freiria wrote:
>>> Your wrong Brian that will work.
>>>
>>
>> Ok, I'm an idiot. I had a typo in my test program, once I fixed  
>> that it
>> works. You still have to define things, you evidently don't have to  
>> do
>> so before using them. Learn something new every day!
>
>
> Totally not a problem, don't worry about it.
>
> Can you recall where you learned that calling before declaring a
> function was bad form? I'd love to trace that back to see where it
> comes from and whether it ever pertained to JavaScript.
>
> Thanks!
>
> Paul
> __________________________
>
> Paul Novitski
> Juniper Webcraft Ltd.
> http://juniperwebcraft.com
>
> _______________________________________________
> Javascript mailing list
> Javascript at lists.evolt.org
> http://lists.evolt.org/mailman/listinfo/javascript



More information about the Javascript mailing list