+ Reply to Thread
Results 1 to 6 of 6

Thread: A buglet????

  1. #1

    Unhappy A buglet????

    I have been doing conditional compilations with assorted compiler variables and may have found a small bug.

    I have a compiler variable [OFFER_NETWORK_INSTALLATION] and dependent on the release it can be set (with #set compiler variable) to $TRUE$ or $FALSE$

    Take a release where it has been set to $TRUE$

    If I test it with #ifcompvar for equality with $TRUE$ the test fails. It works fine if I compare it with 1 or with another compiler variable which is set to 1, but not with $TRUE$

    Can you reproduce this one - or am I going potty?

    Dave

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

    Default Re: A buglet????

    Dave,

    Would it be possible for you to send us a small demo project? The constant $TRUE$ should be resolved to "1" during the compilation process. Perhaps this fails.

    It would be great if you could send a small demo to support (at) lindersoft (dot) com.

    Thank you for your help.

    Friedrich

  3. #3

    Post Re: A buglet????

    Quote Originally Posted by linder View Post
    Dave,

    Would it be possible for you to send us a small demo project? The constant $TRUE$ should be resolved to "1" during the compilation process. Perhaps this fails.

    It would be great if you could send a small demo to support (at) lindersoft (dot) com.

    Thank you for your help.

    Friedrich
    I'll see if I can reporoduce it in a small project - the current script is over 500 lines long and installs hundreds of files. [Part of the reason I like SetupBuilder is that it lets me structure this in a pretty clear way!]

    Dave

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

    Default Re: A buglet????

    Dave,

    It's definitely a compiler problem. Item in review - Ticket [SB#707031]

    I'll keep you posted.

    Thank you for your help!

    Friedrich

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

    Default Re: A buglet????

    Dave,

    Fixed, thank you. It was caused by a bug in the #ifcompvar compiler directive.

    Thanks for bringing this to our attention!

    Friedrich

  6. #6

    Default Re: A buglet????

    Quote Originally Posted by linder View Post
    Dave,

    Fixed, thank you. It was caused by a bug in the #ifcompvar compiler directive.

    Thanks for bringing this to our attention!

    Friedrich
    Glad to be of help.

    Dave

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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
  •