Hi all, Thanks to all that responded and I understand the problem now. One would think that the compiler would tell you they where missing. C really is a not so friendly language - especially coming from Delphi; Thanks Grant Tamas Rudnai wrote: > On Fri, Oct 10, 2008 at 2:18 AM, Grant Brown wrote: > >> What do you mean - the brackets >> > > ...are missing... > > > switch (CurCount) > { > case 2 : > Cancel_All_Ram_ChipSelect_Pin_I2C_SPI_1(); // decared in GKB_SPI.c > Set_Ram_ChipSelect_Pin_I2C_SPI_1(&SPI_01_Dta); // decared > in GKB_SPI.c > > ...see the difference? :-) > > Tamas > > > > >> Grant >> >> peter green wrote: >> >>>> So why does the function not get entered ? I know this is a "me" thing >>>> but I can not seem to see what I'm missing >>>> >>>> >>>> >>> The brackets >>> >>> >> -- >> Kind Regards >> Grant Brown >> >> SiteDoc Pty Ltd >> mob: 0412 926 995 >> www.sitedoc.com.au >> __________________________________________________________________________________________________________ >> This email message together with any attachments is intended only for the addressee(s) and contains information that may be confidential and/or copyright. If you are not the intended recipient, please notify the sender by reply email (or telephone SiteDoc Pty Ltd on +61 2 42291185) and immediately delete this email together with any attachments from your computer. If you are the intended recipient, you must not copy, disclose, reproduce or distribute this communication together with any attachments without the authority of SiteDoc Proprietary Limited. No representation is made that this email or any attachments are free of viruses. Virus scanning is recommended and is the responsibility of the recipient. Unless specifically stated by the sender as the views of SiteDoc Proprietary Limited, any views expressed in this message are those of the individual sender, and no responsibility will be borne by SiteDoc Proprietary Limited for its content or outcomes. >> >> -- >> http://www.piclist.com PIC/SX FAQ & list archive >> View/change your membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist >> >> > > > > -- Kind Regards Grant Brown SiteDoc Pty Ltd mob: 0412 926 995 www.sitedoc.com.au __________________________________________________________________________________________________________ This email message together with any attachments is intended only for the addressee(s) and contains information that may be confidential and/or copyright. If you are not the intended recipient, please notify the sender by reply email (or telephone SiteDoc Pty Ltd on +61 2 42291185) and immediately delete this email together with any attachments from your computer. If you are the intended recipient, you must not copy, disclose, reproduce or distribute this communication together with any attachments without the authority of SiteDoc Proprietary Limited. No representation is made that this email or any attachments are free of viruses. Virus scanning is recommended and is the responsibility of the recipient. Unless specifically stated by the sender as the views of SiteDoc Proprietary Limited, any views expressed in this message are those of the individual sender, and no responsibility will be borne by SiteDoc Proprietary Limited for its content or outcomes. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist