Defining custom values

General discussion on mikroC.
Post Reply
Author
Message
madhunm
Posts: 35
Joined: 18 Feb 2005 23:24

Defining custom values

#1 Post by madhunm » 27 Jul 2005 22:09

Hi All,

I was just wondering... In the normal C language, you can define values like so :

Code: Select all

 #DEFINE <value name> <value to be assigned>
how do i accomplish this in mC?

thanks,
Madhu.

pizon
mikroElektronika team
Posts: 823
Joined: 11 Oct 2004 08:53

Re: Defining custom values

#2 Post by pizon » 27 Jul 2005 23:21

madhunm wrote:

Code: Select all

 #DEFINE <value name> <value to be assigned>
how do i accomplish this in mC?
In the same way. Please take a look at the Preprocessor Directives topic, in mikroC Help.
pizon

Post Reply

Return to “mikroC General”