Reply to Thread

Post a reply to the thread: #include and compiler variable

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 02-09-2006, 12:07 AM
    linder

    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,
  • 02-08-2006, 11:12 AM
    LoboMgr

    #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.

Posting Permissions

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