Line continuation


Closed Thread
Results 1 to 4 of 4
  1. #1
    stratus's Avatar
    stratus Guest

    Default Line continuation

    In PICBASIC can someone tell me how a long line is continued on to the next line? I have a very long lookup table that won't fit on one line. (I tried ",_" plus carriage return, -didn't work).

    Thanks

    stratus

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Hi stratus,

    Yes, it is the underscore for the Line-extension character.

    It's described in section 4.14 of the PBP manual.

    My guess is that you had one too many commas in there.

    HTH,
    Darrel

  3. #3
    stratus's Avatar
    stratus Guest


    Did you find this post helpful? Yes | No

    Default Line continuation

    Thanks Darrel. Seems that works for PBP, unfortunately not plain PB. But now I know to stop trying.

    stratus

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Oops, people usually call it PBC, I thought you meant PBP, sorry!

    If that's the compiler you are using, there's another forum dedicated to that version.

    mel PIC BASIC

    It's probably better than posting in the "FAQ - Frequently Asked Questions" area.

    Best regards,
    Darrel

Similar Threads

  1. Darrel Taylor - Instant Interrupts-Problem 16F877A
    By Megahertz in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 31st December 2009, 13:19
  2. Replies: 0
    Last Post: - 2nd February 2009, 23:23
  3. Using input from Switch to control a loop
    By MrRoboto in forum mel PIC BASIC
    Replies: 9
    Last Post: - 2nd February 2009, 05:02
  4. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  5. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 12:22

Members who have read this thread : 1

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