:: krowemoh

Wednesday | 12 MAR 2025
Posts Links Other About Now

previous
next

Issues in EVALUATE.BTL

2025-02-11
basic, language

My EVALUATE.BTL subroutine had an issue which is a worrying sign.

The following code was throwing an error:

<a href="">
   {{ POST<1,2> }}
</a>

This was because this ultimately triggered a case where I had something in a cache but I wasn't populating a variable properly.

This meant that the variable was undefined and in scarletdme this would trigger a full stop in the program. This is handy as it did make the problem quite clear, however debugging this was a pain in the ass.

I need to learn how DEBUG works in scarletdme as it would have drastically simplified things. This is probably the plus point for using UniVerse as I am so much more familiar with it.

I've solved the issue for now but the worrying part is that the above code is a very simple piece of code. It means that I haven't built anything complex enough yet to trigger all the errors. The debugging being poor is also a sign that my language isn't ready for prime time yet and that I probably need to do another rewrite at some point.