Fehler während der Verarbeitung. Fehler beim Aktualisieren des Projekts. Skript-Fehler: --------------- Typenkonflikt: '[string: "980px"]' --------------- Zeile 10, Spalte 5. --------------- Quelltext: 001: option explicit 002: ExecuteScript 003: Function IIf( expr, truepart, falsepart ) 004: IIf = falsepart 005: If expr Then IIf = truepart 006: End Function 007: 008: 009: public sub ExecuteScript() 010: Context.Write (Context.GlobalFunctions.GetValue(Context.ScriptContextLevel, "@global-layout-width"))-40 011: end sub 012: ################################################################################# ########## UND NUN KOMMT DER FEHLER AUCH IN ZP11 => Layouts : ## Hier Zusatz-Details: ################################################################################# ZetaProducer.RuntimeBusinessLogic.Scripting.Engine.InterpreterException ----------------- Skript-Fehler: --------------- Typenkonflikt: '[string: "980px"]' --------------- Zeile 10, Spalte 5. --------------- Quelltext: 001: option explicit 002: ExecuteScript 003: Function IIf( expr, truepart, falsepart ) 004: IIf = falsepart 005: If expr Then IIf = truepart 006: End Function 007: 008: 009: public sub ExecuteScript() 010: Context.Write (Context.GlobalFunctions.GetValue(Context.ScriptContextLevel, "@global-layout-width"))-40 011: end sub 012: ----------------- bei ZetaProducer.RuntimeBusinessLogic.Scripting.Engine.BaseInterpreter.Run() bei ZetaProducer.RuntimeBusinessLogic.Template.Layouts.Scripting.LayoutScriptController.DoEvaluateFormula(String formula, LayoutScriptContext context, IList`1 touchedItemNames) bei ZetaProducer.RuntimeBusinessLogic.Template.Layouts.Scripting.LayoutScriptController.doEvaluateFormula(String formula, IList`1 touchedItemNames) bei ZetaProducer.RuntimeBusinessLogic.Template.Layouts.Layout.CalculateFormulas() bei ZetaProducer.RuntimeBusinessLogic.Template.Layouts.Preview.LayoutEditorPreviewGeneratorAccurate.run() bei ZetaProducer.RuntimeBusinessLogic.Template.Layouts.Preview.LayoutEditorPreviewGeneratorAccurate.CreatePreview(Cancelable progress) bei ZetaProducer.Main.UI.LayoutDesigner.Main.MainLayoutDesignerPreviewController.previewGenerationBackgroundWorker_DoWork(Object sender, DoWorkEventArgs e) bei System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) bei System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument) InterpreterException { Message="Skript-Fehler:\\r\\n---------------\\t\\t\\t \\r\\nTypenkonflikt: \\'[string: \\"980px\\"]\\'\\r\\n---------------\\t\\t\\t \\r\\nZeile 10, Spalte 5.\\r\\n---------------\\t\\t\\t \\r\\nQuelltext: \\r\\n001: option explicit\\r\\n002: ExecuteScript\\r\\n003: Function IIf( expr, truepart, falsepart )\\r\\n004: \\t\\t\\t\\t\\t\\t\\t IIf = falsepart\\r\\n005: \\t\\t\\t\\t\\t\\t\\t If expr Then IIf = truepart\\r\\n006: \\t\\t\\t\\t\\t\\t\\tEnd Function\\r\\n007: \\r\\n008: \\r\\n009: public sub ExecuteScript()\\r\\n010: Context.Write (Context.GlobalFunctions.GetValue(Context.ScriptContextLevel, \\"@global-layout-width\\"))-40\\r\\n011: end sub\\r\\n012: \\r\\n", CompleteSourceText="001: option explicit\\r\\n002: ExecuteScript\\r\\n003: Function IIf( expr, truepart, falsepart )\\r\\n004: \\t\\t\\t\\t\\t\\t\\t IIf = falsepart\\r\\n005: \\t\\t\\t\\t\\t\\t\\t If expr Then IIf = truepart\\r\\n006: \\t\\t\\t\\t\\t\\t\\tEnd Function\\r\\n007: \\r\\n008: \\r\\n009: public sub ExecuteScript()\\r\\n010: Context.Write (Context.GlobalFunctions.GetValue(Context.ScriptContextLevel, \\"@global-layout-width\\"))-40\\r\\n011: end sub\\r\\n012: \\r\\n", ExcepInfo=EXCEPINFO { }, LineNumber=9, ColumnNumber=4, SourceLine="", SourceContext=0, Description="Typenkonflikt: \\'[string: \\"980px\\"]\\'", Data= [ ] , InnerException=null, TargetSite=RuntimeMethodInfo: Run, StackTrace=" bei ZetaProducer.RuntimeBusinessLogic.Scripting.Engine.BaseInterpreter.Run()\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Template.Layouts.Scripting.LayoutScriptController.DoEvaluateFormula(String formula, LayoutScriptContext context, IList`1 touchedItemNames)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Template.Layouts.Scripting.LayoutScriptController.doEvaluateFormula(String formula, IList`1 touchedItemNames)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Template.Layouts.Layout.CalculateFormulas()\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Template.Layouts.Preview.LayoutEditorPreviewGeneratorAccurate.run()\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Template.Layouts.Preview.LayoutEditorPreviewGeneratorAccurate.CreatePreview(Cancelable progress)\\r\\n bei ZetaProducer.Main.UI.LayoutDesigner.Main.MainLayoutDesignerPreviewController.previewGenerationBackgroundWorker_DoWork(Object sender, DoWorkEventArgs e)\\r\\n bei System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)\\r\\n bei System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)", HelpLink=null, Source="ActiveScriptSite.ScriptError" }