Here is a PDF version of the FUZE Help. Please download and let us know what you think!
-
There's a local keyword??
-
Thank you, found % was expecting it to be mod :-) and << and >> might be fun.
The function documentation might benefit from also having an example of returning a variable. (The tutorial covers it perfectly)
Love the colour names, but they don't all fit on the page, crimson? khaki? azure?
TextWidth that could be a bit useful.
The Basic Game tutorial is fantastic.Exception work everyone.
Ian -
Very nice PDF. I assume it is auto-generated so please make sure that it is updated whenever the online https://fuzearena.com/help is updated.
One very important improvement to include in future edition would be to make the command reference sections each link to a list of links to the commands contained in that section. For example, when I select the "2D Graphics" section, it should link to a page containing an alphabetic list of functions related to "2D Graphics". This would make it much faster to get an overview of available commands and browse to the one of interest. I believe this is also how the online help is organized. -
@MikeDX Yes there's
local
and also foundconst
:) -
@BarenDK Thanks! Yes it is auto-generated. Going forward we are going to have planned releases where the Help (PDF and HTML) will be kept inline with the release. I am open to suggestions about the tables of contents. It has been left out at the moment because it is already 700 pages long. I suspect that at some point there will have to be two versions: one for printing and an eBook.
-
@mixaal said in Here is a PDF version of the FUZE Help. Please download and let us know what you think!:
@MikeDX Yes there's
local
and also foundconst
:)You say found, where?
Does it actually do what it should?
-
Wow, great news! Thank you!
Did you consider publishing it on Github? It would be easier to track changes and suggest changes or report misstatement. -
@konradk said in Here is a PDF version of the FUZE Help. Please download and let us know what you think!:
It would be easier to track changes and suggest changes or report misstatement.
If you find any problems with the help or the program, please report any help issues to the bugs category :)
-
@MikeDX I just tried to type them into FUZE ;-) I think
local
can be used inbash?
andconst
is quite common across various languages. The story behind trying outlocal
was that I didn't expect a global variable modification from a function. I know it's possible to read globals but really got confused when a global variable got changed from within a function without any warning about that in the interpretation/compilation time.Unfortunately
const
does not work as declaring a constant, rewrites are possible in FUZE, but no syntax error is given on const (not a)keyword. Thelocal
just worked for me ;-) as described in the example above - wondering if it's just undocumented or some co-incidence and whether local really modifies the variable scope - hope it does - rewrote all my functions withlocal
s yesterday. -
It's not a good idea to add keywords that are not known to be part of the language into your code.
Have raised the fact that it does not throw an error as an issue. Hopefully will get some clarity either way.
-
@Martin I see I just thought it's a matter of missing doc but it might no be so ...
-
Oh thank heavens! Sooo happy to see this a reality now! Thank you thank you thank you!
-
Thank you for providing this pdf version of the documentation. I have installed it on my iPad for ready reference.
It was on my wish list.
Jeff
-
Again thank you for doing this. So nice to have it handy off the side.