From 3b9c2f6d273a3c5a6ab8c1898f60c140f7976d98 Mon Sep 17 00:00:00 2001 From: User Date: Mon, 2 Oct 2017 09:26:39 +0200 Subject: [PATCH] Format string --- trunk/Properties/AssemblyInfo.cs | 4 ++-- trunk/SecondLife/OSSL_Functions.cs | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/trunk/Properties/AssemblyInfo.cs b/trunk/Properties/AssemblyInfo.cs index 6cc73e3..adf58ec 100644 --- a/trunk/Properties/AssemblyInfo.cs +++ b/trunk/Properties/AssemblyInfo.cs @@ -70,7 +70,7 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: // -[assembly: AssemblyVersion("2.55.0.115")] +[assembly: AssemblyVersion("2.55.0.124")] // // In order to sign your assembly you must specify a key to use. Refer to the @@ -100,4 +100,4 @@ using System.Runtime.InteropServices; [assembly: AssemblyDelaySign(false)] //[assembly: AssemblyKeyName("")] [assembly: ComVisibleAttribute(false)] -[assembly: AssemblyFileVersionAttribute("2.55.0.115")] +[assembly: AssemblyFileVersionAttribute("2.55.0.124")] diff --git a/trunk/SecondLife/OSSL_Functions.cs b/trunk/SecondLife/OSSL_Functions.cs index b3c6273..033a0de 100644 --- a/trunk/SecondLife/OSSL_Functions.cs +++ b/trunk/SecondLife/OSSL_Functions.cs @@ -1156,8 +1156,10 @@ namespace LSLEditor public String osFormatString(String format, list parameters) { - Verbose("osFormatString(\"{0}\", {1})=\"\"", format, parameters.ToVerboseString()); - return ""; + string formatted = string.Format(format, parameters.ToArray()); + + Verbose("osFormatString(\"{0}\", {1})=\"{2}\"", format, parameters.ToVerboseString(), formatted); + return formatted; } public String osKey2Name(key id)