CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 2 matches
CCS Forum Index
Author Message
  Topic: Variables function-wide
kammenos

Replies: 3
Views: 6095

PostForum: General CCS C Discussion   Posted: Tue Feb 25, 2014 1:15 pm   Subject: Variables function-wide
Ops... shame... found it. Just for the other newbies to learn and for the pros to confirm. Here is the actual code:



int8 LastButtonPress;

int8 GetButtonPress(){
if (Butt ...
  Topic: Variables function-wide
kammenos

Replies: 3
Views: 6095

PostForum: General CCS C Discussion   Posted: Tue Feb 25, 2014 12:57 pm   Subject: Variables function-wide
Hello guys,

this is my 2nd day in C. So you will tell from my question. I want to declare a variable (say int8 Temp) which is:
1. accessible from all functions
2. variable content is not lost whe ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group