Way to test errors in my code

So. I seem to need a place where I can test my code for arrors and such. Firefox doesn’t seem to be as accessible as it once was, rather annoyingly. I would rather not have to do it manually, mostly because most of the arrors I am running into have to do with indentation, and or tabs and such. Anyone have any suggestions? Also, from what I have been able to gather, quicktest and randomtest don’t seem to work? Never really needed them, and last time I tried to open them, they did something strange, and had to close them down.

Hi,

If you use nvda, consider using this addon in order to get a better idea about how your indentation looks. The addon provides a way to move between lines on the same indentation, move to parent or child indentation, etc. You can change the default keybindings for these gestures in nvda>preferences>input gestures. https://addons.nvda-project.org/addons/indentNav.en.html.

also turn on line indentation reporting in the document formatting settings to hear a spoken or sound approximation of your indentation.

Quicktest and randomtest should work afaik, in my experience they are the best tools to find bugs and track stats.
Here is a modified version of the tool in which you can track stats without the need to print the whole text, which is really useful to me

3 Likes

Can you do the:
*** *comment savestatsetup [stat1] ETC, for all your stats? Also, will an actual space, or do you need to go down another line to do so?
Also. In the tests file, when ever I open 1 of them, I get this arror message:
***: line: 11, char: expected code 100A800F source: microsoft script runtime arror.
It does that, or something similor, with all the test files I open. I changed the code in my startup on the off-cance it was that, but still says the same thing. Any idea of 1, what it is, and 2, how to fix it? Or, deal with it? Currently, I can’t use any of the testing applications, which was why I was dealing with firefox in the firstplace.

This is how I used it, just a space between each stat.
savestatsetup stat1 stat2 stat3 stat4 stat5 etc etc

I think you needed to install something on firefox to make the randomtest and quicktest work. Let me see if I can find something about that.

I’m not sure but I hope this can help.

1 Like

How do I open the command prompt on windows computer? Though, right now trying to unzip the folder, but not haveing much success with even that. Useing the 7Z program, but not seeing an application to unzip the folder, and can’t seem to do it from in the folder. The file type still says zipp, which won’t work if I want to work with the code in notepad.

[windows key] + [ R ] and type cmd on the bar that appears, you can also find it on the menu as cmd.

Have you tried to use another program to unzip the files?

So. I figured out the zip situation, just took the inner Dfabulig folder out of the zipped shell, and put it somewhere else. Bonus, the “index” application actually works now, which is good.
When I go to the command bar, and type in the CMD? Is there anything else I should do, after that? It doesn’t seem to say anything, and I get the feeling I am supposed to type. Something, after that.

Sorry, I just assumed you knew about this, just try any of the following, or press enter after typing cmd or press run with the mouse

Command prompt is quite a powerful tool though… I’m not sure you should be using it if you don’t know what you’re doing.

At least be very, very careful.

One critique of both randomtest and quicktest is that neither display your variables when a bug is found.