Error 238 Preprocessor Directive Expected ???


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    219

    Default Error 238 Preprocessor Directive Expected ???

    I have never encountered this error before. I have gotten this error on two short test programs. The list of compiler error codes located in the Wiki does not give an explanation for this error code. Anyone have an idea what this means? I'm not using a preprocessor nor do I reference any processor other than a 16F873A. ???

  2. #2
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default Re: Error 238 Preprocessor Directive Expected ???

    Problem found!
    While using Typcasting Variables inside of Arrays, a variable name in ASM did not match the variable name in the EXT statement.

    Array VAR BYTE[8]
    ASM
    Dog = Array
    Cat# = Array+1
    -------
    -------
    ENDASM
    Dog VAR BYTE EXT
    Cat VAR BYTE EXT * the # in the ASM Cat# caused error 238

    Issue Closed!

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts