+ Reply to Thread
Results 1 to 2 of 2

Thread: #include and compiler variable

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default #include and compiler variable

    Can you embed a compiler variable into a #include?
    e.g.

    #set compiler variable [SCRIPTDIR] = D:\SB5_Projects
    #include script "[SCRIPTDIR]\Test.sbi"

    The compiler is throwing an error because [SCRIPTDIR] does not get expanded.

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: #include and compiler variable

    Hello,

    Thank you for your message.

    Unfortunately, this is not possible because compiler variables are resolved at compile time. The IDE displays all included script in the script editor and the compiler variable cannot be resolved.

    See: http://www.lindersoft.com/forums/sho...=4404#poststop

    Thanks,

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SetupBuilder 6.0 Change Log [December 08, 2006]
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 14
    Last Post: 12-10-2006, 06:32 AM
  2. SetupBuilder 6.0 Change Log [November 30, 2006]
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 8
    Last Post: 12-01-2006, 05:42 AM
  3. Next SetupBuilder 5.3 build status [03-Mar-2006]
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 18
    Last Post: 03-18-2006, 03:29 AM
  4. Next SetupBuilder 5.3 build status [24-Feb-2006]
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 4
    Last Post: 03-01-2006, 03:24 AM
  5. SetupBuilder 5 Beta (build #971)
    By linder in forum SetupBuilder
    Replies: 0
    Last Post: 11-30-2004, 10:23 AM

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •