GLBasic forum

Main forum => Off Topic => Topic started by: MrTAToad on 2011-Apr-03

Title: Programmers Reference Guide
Post by: MrTAToad on 2011-Apr-03
I'm updating the PRG to second edition (because of the extra bits that are now in GLB), and was thinking of changing the layout of the command descriptions to something like the following :

?DEFINE

TYPE : Pre-processor command

SYNTAX : ?DEFINE <string> <value>

SEE ALSO : ?UNDEF

NOTES :

Currently, variables defined are only local to the file in which they have been created in.

Result :

Defines the preprocessor variable <string> with the value held in <value>

Example :

// This example allows defines a preprocessor variable A, and sets it to 1
?DEFINE A 1

Does it make it clearer to read (var is bold in the document) ?
Title: Re: Programmers Reference Guide
Post by: Ian Price on 2011-Apr-03
Looks clear enough to me.

Good work :)
Title: Re: Programmers Reference Guide
Post by: MrTAToad on 2011-Apr-03
Righty-ho, I'll change the format then :)
Title: Re: Programmers Reference Guide
Post by: Gary on 2011-May-04
Any idea when the second edition will be ready?
Title: Re: Programmers Reference Guide
Post by: MrTAToad on 2011-May-06
I'm hoping for sometime between June and July :)

Need to finish the command listing layout, add Android stuff, and update the page numbers...

I'm hoping that this book, whilst having much more information, will be cheaper, saving around £17 or so (from my initial calculations).
Title: Re: Programmers Reference Guide
Post by: MrTAToad on 2011-May-06
Okay - here is a preview of the book.

The indexes need updating, but thats about it - so far :)
Title: Re: Programmers Reference Guide
Post by: Gary on 2011-May-06
much appreciated Mr Toad and once I get paid will buy the copy on the store  :good:
Title: Re: Programmers Reference Guide
Post by: MrTAToad on 2011-May-06
Let me know if there are any errors!
Title: Re: Programmers Reference Guide
Post by: erico on 2011-May-07
I have the version before, as I read, I´m noting the errors, will let you know later if it helps any
Title: Re: Programmers Reference Guide
Post by: MrTAToad on 2011-May-07
Okay!