Variable problem


Results 1 to 11 of 11

Threaded View

  1. #1

    Default Variable problem

    Hi
    I have a Variable Problem!

    I have a Variable DataIn:

    Datain VAR Byte [3]
    Dummy VAR Byte [3]

    now for example i want to use this to compare the bits and to found what bit have change:

    For N = 0 to 2
    For S = 0 to 7 ' My Bits
    If Dummy [N].0[S] <> Datain[N].0[S] Then .......
    Next S
    Next N

    But this is the wrong variable syntax (Unsupported array syntax!)
    Thank You for any help

    Regards Pesti
    Last edited by Pesticida; - 23rd May 2008 at 19:45.

Similar Threads

  1. EEPROM Variables (EE_Vars.pbp)
    By Darrel Taylor in forum Code Examples
    Replies: 79
    Last Post: - 26th October 2012, 00:06
  2. problem with variable on PIC10f202
    By Samoele in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th October 2009, 17:29
  3. SEROUT WORD variable problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th April 2009, 11:20
  4. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36
  5. Math Formula / Variable Problem! Help!
    By bwarp in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th February 2006, 07:59

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