Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Pelion IoT Platform
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Software Tools
Jump...
Cancel
Software Tools
Keil forum
can constants defined in a file be used in other file without defining ?
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
State
Not Answered
Replies
5 replies
Subscribers
2 subscribers
Views
179 views
Users
0 members are here
Keil C51 Tools
Related
can constants defined in a file be used in other file without defining ?
Offline
arjun pal
over 17 years ago
i have defined
#define key0 0x35
in main file and now i want to use key0 in one of included file in this project
but on compilation i get error for this.
Does keil have any provision where i can use defined constants
of one file in other file without redefining them ?
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Answered
How to add nRF5 SDK pathes to system-wide Keil settings?
0
200
views
2
replies
Latest
1 hour ago
by
Dmytro
Not Answered
I need blink my led in "distress signal" Urgent please
0
66
views
0
replies
Started
10 hours ago
by
IngArless
Not Answered
I keep receiving 0 from one of lm35 sensors
0
378
views
5
replies
Latest
12 hours ago
by
Ali_Kermani
Suggested Answer
STM32F4 DFP HAL Drivers Compatibility with ARM Compiler 6
0
Arm Compiler 6
STM32 F4
87
views
1
reply
Latest
12 hours ago
by
Andy Neil
Not Answered
Place const data in external flash memory - STM32F429
0
1092
views
6
replies
Latest
17 hours ago
by
Miguel _M
>
View all questions in Keil forum