Forward-references


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289

    Question Forward-references

    Is PBP not able to solve forward-references to variables (Later declared inside the source) ?

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


    Did you find this post helpful? Yes | No

    Default

    you mean ???
    Steve

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

  3. #3
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289


    Did you find this post helpful? Yes | No

    Default

    fe:

    i var byte

    for i=1 to4
    dummy[i]=i
    next i

    [...]

    dummy var byte[10]


    I got an error, because "dummy" is unknown inside the for-next-loop ...
    setting the dummy-declaration at the beginning, all works fine.

Similar Threads

  1. Bits, Bytes Words and Arrays
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 24
    Last Post: - 14th June 2016, 07:55
  2. Forward Serial Data from pic to pc
    By Muller in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 2nd September 2008, 21:46
  3. Serious Serial Situation Setbacks...
    By Dansdog in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th February 2007, 03:46
  4. What is the best way to make forward reverse
    By guanerrr in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th April 2006, 17:01
  5. Forward error correction
    By Ron Marcus in forum General
    Replies: 2
    Last Post: - 2nd June 2005, 15:12

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