View Single Post
  #2   Spotlight this post!  
Unread 09-03-2006, 07:41
koenig3456 koenig3456 is offline
Programming Coach
None #0681 (EARTH Squad)
Team Role: Coach
 
Join Date: Jan 2006
Location: Pennsylvania
Posts: 16
koenig3456 is an unknown quantity at this point
Re: Pointers in EasyC

You can declare pointer variables by putting 'User code' blocks at the beginning of your function. For example, the following code declares two variables and makes the pointer variable point at the value variable and sets the value to 4.

unsigned char *pointer;
unsigned char value;

pointer = &value;
*pointer = 4;