How to use include files?


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1

    Default How to use include files?

    I would like to try some of the interrupts here http://www.picbasic.co.uk/forum/showthread.php?p=23259 but I'm not sure how to add the include files. The website seems to be defunct now. Can someone please explain to me how to use the include files?

  2. #2
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: How to use include files?

    Files and some examples can be downloaded from here: http://www.picbasic.co.uk/forum/cont...aylors-s-works

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: How to use include files?

    Quote Originally Posted by pedja089 View Post
    Files and some examples can be downloaded from here: http://www.picbasic.co.uk/forum/cont...aylors-s-works
    Thanks. But is there some sort of tutorial on how to actually install the include files?

  4. #4
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: How to use include files?

    Just copy them in same folder as your .pbp file, that is all.

  5. #5
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: How to use include files?

    Quote Originally Posted by pedja089 View Post
    Just copy them in same folder as your .pbp file, that is all.
    and then add the include statement in your main code, placing whatever file you want to include in quotes, for example

    Code:
    include "DT_INTS-18.bas"

  6. #6


    Did you find this post helpful? Yes | No

    Default Re: How to use include files?

    Thanks! I was confused as to how you "physically" got the include file in there. I didn't realize it was as simple as just putting the file in the same folder as your .pbp file.

  7. #7
    Join Date
    Aug 2016
    Posts
    22


    Did you find this post helpful? Yes | No

    Default Re: How to use include files?

    See below for Include file. This may help you.
    http://www.perlmonks.org/?node_id=393426

  8. #8
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: How to use include files?

    In what way does perl scrip help with PicBASIC pro ?

Similar Threads

  1. Post your INCLUDE files here
    By mackrackit in forum Code Examples
    Replies: 4
    Last Post: - 16th September 2011, 23:50
  2. Where are all the INCLUDE files??
    By Heckler in forum General
    Replies: 3
    Last Post: - 13th September 2011, 08:27
  3. Include Files for some Routines
    By rsocor01 in forum PBP Wish List
    Replies: 2
    Last Post: - 23rd April 2010, 19:13
  4. Using ASM files as include
    By Josuetas in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 15th August 2007, 20:40
  5. Modified include files
    By Joe Rocci in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th August 2006, 18:39

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