Include File error
rmjsts
Junior Member
I am sure I just having some kind of brain freeze or something, but can anyone tell me why when compiling my program I get a Syntax Error pointing to my Include files at the DEFINE_xxxxxx sections;
PROGRAM_NAME='LightingSystem1'
(***********************************************************)
(* FILE_LAST_MODIFIED_ON: 12/06/2011 AT: 14:12:01 *)
(***********************************************************)
DEFINE_CONSTANT
BTN1 = 601
BTN2 = 602
BTN3 = 603
BTN4 = 604
BTN5 = 605
BTN6 = 606
BTN7 = 607
BTN8 = 608
BTN9 = 609
BTN10 = 610
BTN11 = 611
In this instance I get errored for the DEFINE_CONSTANT line above. I have removed this axi file from the system and I get the same error on the next axi file except it is a DEFINE_EVENT line with subsequent BUTTON_EVENTs under that.
PROGRAM_NAME='LightingSystem1'
(***********************************************************)
(* FILE_LAST_MODIFIED_ON: 12/06/2011 AT: 14:12:01 *)
(***********************************************************)
DEFINE_CONSTANT
BTN1 = 601
BTN2 = 602
BTN3 = 603
BTN4 = 604
BTN5 = 605
BTN6 = 606
BTN7 = 607
BTN8 = 608
BTN9 = 609
BTN10 = 610
BTN11 = 611
In this instance I get errored for the DEFINE_CONSTANT line above. I have removed this axi file from the system and I get the same error on the next axi file except it is a DEFINE_EVENT line with subsequent BUTTON_EVENTs under that.
Comments
-
If it's trickling down to each include - it's most likely something in the main file prior to the includes.
-
Looks like you had it somewhat. The problem was in another include file, some varibles that were being defined. I remarked them out and that fixed the problem. SO now I just ahve to figure out what in the variables caused the problem. Thanks, I just kept looking at the affected include files and could not come up with anything since these are valid statements and in the right syntax. I'll whittle it down.
Have a great day... -
If you want to post the file causing issues - we can definitely help. :-) If not - no worries.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums