IF..AND/OR..THEN and PBPL


Results 1 to 6 of 6

Threaded View

  1. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    if w1[index] < (w0 - 2) or w1[index] > (w0 + 2) then

    Duncan
    I believe that's similar to a problem I had a couple of months ago. There's a simple fix in one of the PBPL macro files for it, but I'm at work and don't have it handy. Involves changing a CT to BT or something along those lines. It's not the AND/OR that causes the problems, it's the index'ing part of the problem. I just don't remember what it is...
    If you don't get a fix from MeLabs or have it posted here when I get home today, I'll post the fix in a fresh thread....(I know...should've done that weeks ago...)

    Besides that...
    w1 var word(8)
    should be
    w1 var word[8]
    Last edited by skimask; - 25th January 2008 at 14:16.

Similar Threads

  1. PBPL and TCP/IP
    By edtp in forum Ethernet
    Replies: 10
    Last Post: - 4th March 2011, 19:35
  2. PBP and PBPL
    By keymuu in forum mel PIC BASIC Pro
    Replies: 45
    Last Post: - 30th January 2009, 17:58
  3. USB PBPL Compile errors
    By Rob in forum USB
    Replies: 11
    Last Post: - 7th April 2008, 08:18
  4. PBPL and MPLAB ... registration ?
    By Acetronics2 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 13th December 2007, 17:17
  5. PBP 2.50 pbpw vs pbpl .exe
    By Archangel in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 21st September 2007, 15:28

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