# Problem with calling code in Ignition Designer Script Console

**URL:** <https://forum.inductiveautomation.com/t/problem-with-calling-code-in-ignition-designer-script-console/103150>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [March 3, 2025, 2:44pm UTC](https://forum.inductiveautomation.com/t/problem-with-calling-code-in-ignition-designer-script-console/103150 "2025-03-03T14:44:13Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [March 3, 2025, 3:59pm UTC](https://forum.inductiveautomation.com/t/problem-with-calling-code-in-ignition-designer-script-console/103150/4 "2025-03-03T15:59:29Z")

</div>

Welcome to the forum, kruta. Please see [Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831). It won't make much difference to the short script you posted above but it will preserve leading whitespace / indentation which is essential for Python / Jython scripts. You can also post the error messages as preformatted text rather than an image. The text is searchable. The image is not without some OCR work.

---

_[View the full topic](https://forum.inductiveautomation.com/t/problem-with-calling-code-in-ignition-designer-script-console/103150)._
