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...
Type: Posts; User: Jax; Keyword(s):
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...
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...
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,...
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"
...
You need to change "\\n" to "$". i.e. change the second line to:
return "`" .. x .. y:gsub("`","$") .. "`"
Is that what you mean?
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...
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") .. "`"...
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...
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...
Is this so the INI file looks in a particular way when users or other programs view it?
Yes, it ought to, but it does not support Unicode strings.
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?
The October 2013 release fixes another crash.