Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2009
    Posts
    3

    Quoted ini file data

    I've run into an inconsistency between const data defined on the publish->settings->constants tab and the data that overrides it in an ini file.

    If you try to define a constant in the form of a version number as:

    _TARGET_VERSION "7.1.76.0" <-- Constant in build settings

    and

    [Constants]
    _TARGET_VERSION="7.1.76.0" <-- Ini file

    If you try to assign the const to a variable in a script that has been overriden by the ini file, you will get a "malformed number near '.76.0'".

    The work around is to have the ini file look like this:

    [Constants]
    _TARGET_VERSION=""7.1.76.0"" <-- Extra quotes.

    This is not necessarily a bug, but it could save some time if it was documented.

    Thanks,
    Casey.

  2. #2
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,823
    Thank you, we'll look into that. REF: TU-23
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

Tags for this Thread

Posting Permissions

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