Search:

Type: Posts; User: Jax; Keyword(s):

Search: Search took 0.02 seconds.

  1. Thread: INI ++ 1.5

    by Jax
    Replies
    45
    Views
    42,012

    Hi Uro, I don't have access to Fusion at the...

    Hi Uro,

    I don't have access to Fusion at the moment (it thinks my copy has expired or something), but LB kindly still hosts the help document: http://lb-stuff.com/MMF2/Ini++/

    I think you can...
  2. Thread: INI ++ 1.5

    by Jax
    Replies
    45
    Views
    42,012

    The reason was just that Unicode MMF didn't exist...

    The reason was just that Unicode MMF didn't exist at the time I wrote it! You are free to convert it - you can get the latest code off Clickteam, I think Yves has it - but beware! I wrote it when I...
  3. Thread: INI ++ 1.5

    by Jax
    Replies
    45
    Views
    42,012

    I continued the conversation via PM to stop...

    I continued the conversation via PM to stop spamming this thread too much, but that's not dissimilar to the way went for (except I put it in helper in the form ^\t* so that it was only indent lines,...
  4. Thread: INI ++ 1.5

    by Jax
    Replies
    45
    Views
    42,012

    Ah sorry I didn't get what you meant! Perhaps...

    Ah sorry I didn't get what you meant!

    Perhaps try this:

    function helper(x,y)
    return x .. y:gsub("\n","$") .. "\n"
    end
    function fix(a)
    local b="\n" .. a:gsub("\r?\n","\n") .. "\n"
    ...
  5. Thread: INI ++ 1.5

    by Jax
    Replies
    45
    Views
    42,012

    You need to change "\\n" to "$". i.e. change the...

    You need to change "\\n" to "$". i.e. change the second line to:

    return "`" .. x .. y:gsub("`","$") .. "`"

    Is that what you mean?
  6. Thread: INI ++ 1.5

    by Jax
    Replies
    45
    Views
    42,012

    I think replacing return "`" .. x .....

    I think replacing

    return "`" .. x .. y:gsub("`","\\n") .. "`"

    with

    return "`" .. x .. y:gsub("`","\\n"):gsub("\t","") .. "`"

    will do - unless you only want to remove tabs at start of...
  7. Thread: INI ++ 1.5

    by Jax
    Replies
    45
    Views
    42,012

    Opps sorry. If you go to the Lua object and look...

    Opps sorry. If you go to the Lua object and look at the script property (which is its only property) you can change it to this:

    function helper(x,y)
    return "`" .. x .. y:gsub("`","\\n") .. "`"...
  8. Thread: INI ++ 1.5

    by Jax
    Replies
    45
    Views
    42,012

    It turns out Fusion 2.5 is free right now so I...

    It turns out Fusion 2.5 is free right now so I was able to download it (I swear I've bought it at some point but I can't find anything in my emails about it). Here is an example of using the Lua...
  9. Thread: INI ++ 1.5

    by Jax
    Replies
    45
    Views
    42,012

    I'm afraid I don't have my environment set up...

    I'm afraid I don't have my environment set up anymore to do any extension coding very easily. However, I wonder if you could do something like this:

    1. Load the file into a string (using the File...
  10. Thread: INI ++ 1.5

    by Jax
    Replies
    45
    Views
    42,012

    Is this so the INI file looks in a particular way...

    Is this so the INI file looks in a particular way when users or other programs view it?
  11. Thread: INI ++ 1.5

    by Jax
    Replies
    45
    Views
    42,012

    Yes, it ought to, but it does not support Unicode...

    Yes, it ought to, but it does not support Unicode strings.
  12. Thread: INI ++ 1.5

    by Jax
    Replies
    45
    Views
    42,012

    Thank you for the information, Pharanygitis. I...

    Thank you for the information, Pharanygitis. I will look into it in due course.

    Edit: Does the previous version of Ini++ have the same problem?
  13. Thread: INI ++ 1.5

    by Jax
    Replies
    45
    Views
    42,012

    The October 2013...

    The October 2013 release fixes another crash.
Results 1 to 13 of 13