Shop OBEX P1 Docs P2 Docs Learn Events
How does one set where the editor will look for files? — Parallax Forums

How does one set where the editor will look for files?

FranklinFranklin Posts: 4,747
edited 2011-07-18 13:03 in Propeller 1
I have custom files and downloaded objects, where do I put these so I can access them and when I upgrade to the next version of the propeller tool I don't have to move them? In searching my computer I have 11 copies of FullDuplexSerial and only need one. (240K of wasted space with this file alone)
Thanks all.

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-07-17 12:01
    You're probably out of luck. The compiler makes no provision for specifying a location for your own objects. However, it is not necessary to have 11 copies of FullDuplexSerial (unless they're different from each other), since that's a library object and will always be found in the library by the compiler. Other than library objects, your own programs can be anywhere you want. The only catch is that your top-level program and any of your own objects have to reside in the same directory.

    -Phil
  • jeff-ojeff-o Posts: 181
    edited 2011-07-17 12:02
    BST (Brad's Spin Tool) allows you to set multiple object directories. You also set the order in which those directories are searched.
  • FranklinFranklin Posts: 4,747
    edited 2011-07-17 19:21
    @Phil, seems every object comes with all the files needed to make the demo run, including files already in the library.
    @jeff, I downloaded BST and will look at it, thanks.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-07-17 19:30
    Franklin wrote:
    seems every object comes with all the files needed to make the demo run, including files already in the library.
    True. But it's a convenience you don't necessarily have to embrace. You can just delete the redundant library objects if you like.

    -Phil
  • FranklinFranklin Posts: 4,747
    edited 2011-07-18 13:03
    Thanks Phil, now that I see that I will be more carefull of what I save. I just never paid enough attention before. ;)
Sign In or Register to comment.