Is there something wrong with docs or my install?

Monkey Archive Forums/Monkey Discussion/Is there something wrong with docs or my install?

matty(Posted 2011) [#1]
Hello all,

I've recently installed Monkey (v42) and have been having a brief look through the documentation.

I'm not sure if it is something wrong with my installation but it seems like there pages missing or I am just unable to view them.

The mojo and monkey module reference is there...but on many commands when I click a linked reference I get an error with the scripting in my browser and cannot view these pages.

Also - there doesn't seem to be any documentation on the various commands like 'for' 'next' 'while' 'wend' ' if ' / ' else ' which although are pretty basic it would be nice to see the actual syntax for these in Monkey.

Am I missing something?


matt(Posted 2011) [#2]
Are you using IE?

You can upgrade to IE9 or use a different browser: Chrome/Safari/Firefox

Let us know how you get on.


matty(Posted 2011) [#3]
This is what I see in chrome:




c.k.(Posted 2011) [#4]
When you click on a topic at the left, does the text for it appear on the right?


muddy_shoes(Posted 2011) [#5]
The root page for the docs is /docs/index.htm under your monkey installation and should be the page that shows if you click the home button at the top of the monk IDE. It lists several sub-documents including a language reference.

If you're still seeing errors from there it would be useful to know what those errors are.


matt(Posted 2011) [#6]
@matty

What version of Chrome are you running and what is the exact error message?

The screen you posted above is just the start of the docs. Click the headings to the left, or use the search box in the top right (not in your screenshot) to find what you want.

pressing F1 on a command should take you to something more like:
file://.../docs/modules/index.html#/mojo.app/UpdateRate

Everything after the # tells the docs system what to display.

Here's a screen grab:



matty(Posted 2011) [#7]
Yes I can see that - these commands in mojo and monkey I can see with no problem. But what I meant in the original post -

"Where is the documentation for the basic program flow commands"?

ie things like loops, conditional structures, defining methods and the like - I cannot find anything that tells me the basic syntax of monkey?

I would rather not have to sift my way through the samples and hope to find out these from trial and error...surely there is some documentation on the language's syntax?


matt(Posted 2011) [#8]
The screens above are for the "modules" docs, as you are aware.

What you are looking for is the Language reference "monkey/docs/language.html". I recommend reading "learnmonkey.pdf" also.

You can get to them from the main "Welcome to monkey" page