Initialize variables


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default Re: Initialize variables

    oh oh ...

    that looks Basic " C style" written ...

    @first ... try not to initialize variables on the same line as you declare them ... ( one declaration block and further, one initialization block )

    we could suspect the compiler to consider those are not initialization but directives ! let's say it could be a little bug ( not sure at all ... )

    did you try MPLAB SIM to track your initialization sequence ??? ( excellent debugging tool, BTW ... )

    Alain
    Last edited by Acetronics2; - 19th February 2015 at 13:36.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. How can I initialize the EEPROM when programming
    By luxornet in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th November 2014, 09:31
  2. SD card does not initialize
    By bushratariq in forum mel PIC BASIC
    Replies: 1
    Last Post: - 21st August 2014, 12:00
  3. Do you have to initialize an on-Screen Display module?
    By Ramius in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 28th April 2011, 00:53
  4. PortB pins will not initialize LOW, only HIGH?
    By ronbowalker in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th December 2009, 19:27
  5. HOW do you initialize PortC to normal I/O??
    By Len in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th June 2005, 18:56

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