Read the newbee threads, 16F877A no go.


Results 1 to 40 of 40

Threaded View

  1. #18
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    you know, in ALL programming language, error message are often helpfull but often they wouldn't point you the exact line or part of code where the error is. It's amazing what a missplaced or missing ENDIF, WEND, Variable declaration could do also

    here's a reaally short example
    Code:
    b1 var byte
    
    I2cread PORTB.0,PORTB.1,0,0,[b1]
    try this as is. Without anything else It compile O.K right ???

    Now remove the first line and compile the code and see what's happen

    ERROR Line 3: Expected '['. (a.bas)
    Last edited by mister_e; - 1st August 2005 at 00:38.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Can't read sequential addresses in external EEPROM
    By tjkelly in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th February 2010, 14:46
  2. Cleaning up code
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd December 2009, 07:14
  3. SEROUT WORD variable problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th April 2009, 11:20
  4. Q: using MCLR for Input on 12F683
    By picster in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 31st January 2009, 15:25
  5. Changing declared variables names on the fly
    By jessey in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 16th December 2006, 06:34

Members who have read this thread : 0

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