PDA

View Full Version : Line continuation



stratus
- 14th June 2005, 07:06
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

Darrel Taylor
- 14th June 2005, 07:35
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

stratus
- 14th June 2005, 08:58
Thanks Darrel. Seems that works for PBP, unfortunately not plain PB. But now I know to stop trying.

stratus

Darrel Taylor
- 14th June 2005, 09:17
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 (http://www.picbasic.co.uk/forum/forumdisplay.php?f=3)

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

Best regards,
Darrel