Warning[202]


Closed Thread
Results 1 to 3 of 3

Thread: Warning[202]

  1. #1
    Join Date
    Nov 2007
    Posts
    24

    Default Warning[202]

    Can someone please tell me what this means?
    Warning[202] ... file location ... 152 : Argument out of range

    This doesn't seem to tell me where the error is. It isn't in line 152, so where is it?

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    From the PM.TXT file in your PBP directory
    202 Illegal Character 'Character'
    The assembler doesn't recognize the legal use of the specified character.
    From MPASM
    202 Argument out of range. Least significant bits used.
    Argument did not fit in the allocated space. For example, literals must be 8 bits.
    And if we could see you code it would help.
    Because it is never in line 152.
    Last edited by mackrackit; - 24th October 2008 at 01:51.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Nov 2007
    Posts
    24


    Did you find this post helpful? Yes | No

    Smile

    I found it. I had a Byte variable storing the result of a calculation using a Word variable. It worked in my case, because I knew the bounds of the calculation, but hence, the warning. Thanks for responding.

Similar Threads

  1. Warning[202]
    By KVLV in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 16th December 2007, 09:30

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