Error while compiling


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352

    Smile Error while compiling

    Good morning all!

    While updating an old program I encountered the following message:

    ERROR: Macro SUB?BCL not found in macro file.

    As far as I know I don't have any macros but maybe PBP creates them. How do I correct this?

    Using a 18F452

    Using MCSPlus 2.2.1.1 and PBP 2.50C (yes I have PBP 3.0)

    Thanks in advance for any help?

  2. #2
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Default Re: Error while compiling

    Hello again,

    My code section was this:

    Serin2 serpin,36081,250,Main,[Wait("A"),DEC3 Apt, dec1 Event] '4/20/13 New changes
    BusyOut = 1
    pause 10

    if Event = 1 then DispAlarm1
    if Event = 2 then DispAlarm2
    If Event - 3 then PrntRestore

    This line: (If Event - 3 then PrntRestore) should have been (If Event = 3 then PrntRestore)

    The error was having a - instead of =.

    Problem solved by going back and slowly putting the previously changed code back in piece by piece and testing
    each change.

    Have a nice day!

    BobK

Similar Threads

  1. Replies: 1
    Last Post: - 30th March 2012, 05:13
  2. Compiling Error with 18F452
    By michel in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 1st July 2008, 06:10
  3. Error compiling 18f2550
    By sirvo in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 14th May 2008, 00:22
  4. error on compiling
    By parker in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th June 2005, 15:31
  5. Compiling error with PIC18F1320
    By mazlan in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 26th November 2004, 02:01

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