Path: chuka.playstation.co.uk!news From: James Russell Newsgroups: scee.yaroze.beginners Subject: Re: static and non stativ viods Date: Mon, 08 Jun 1998 09:55:53 +0100 Organization: Sony Computer Entertainment Europe Lines: 18 Message-ID: <357BA719.952E2157@scee.sony.co.uk> References: <357A494B.2A9A@virgin.net> NNTP-Posting-Host: camfw01.millennium.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [en] (Win95; I) peter black wrote: > > can anyone tell me the differnce between > static void function() > and > viod function() A function (or variable) defined with 'static' is not exported, which means that functions in other object files can't see it, and thus they can't use it. Only variables/functions within the file can use that variable/function. It's mainly used to prevent an object's function/variable definitions from conflicting with another object's function/variable definitions. > and why the latter seems to create rubbish in > codewarrior debbuger stack window Um... pass.