.scr file

Discussion in 'Programmer's Corner' started by dMoser, Nov 29, 2011.

  1. dMoser

    Thread Starter Member

    Aug 25, 2011
    30
    1
    Hi,

    In an .scr file, I noticed the following line:

    set_attribute lib_search_path {. ../LIBRARY/LIBS/ } /

    what does the single dot mean at the beginning of the brackets?

    Thanks.
     
  2. kubeek

    AAC Fanatic!

    Sep 20, 2005
    4,670
    804
    What kind of scr file? AFAIK .scr is a screensaver executable file which is not plaintext, so what is your scr for?
     
  3. jimkeith

    Active Member

    Oct 26, 2011
    539
    99
    My take is that it represents an abbreviated pathname as such can be very long and cumbersome
     
  4. dMoser

    Thread Starter Member

    Aug 25, 2011
    30
    1
    Hi,

    its a run file (script) that is run by RTL compiler.
     
  5. cheezewizz

    Active Member

    Apr 16, 2009
    82
    10
    like jimkeith says it's probably a pathname, the dot (.) is the current working directory usually and two dots (..) is the parent directory. I imagine that's just saying check this directory and also ../library/libs
     
  6. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    The brackets are a search path for the libraries.

    . means the current directory, it can also be listed as ./

    The line tells the compiler to use libraries from the current directory first, and if not found, check the next path.
     
Loading...