More/better action code examples

Prompted by recent requests I’ve been through the article in aTbRef for all 204 action codes and added/improved examples. A few like mathematical operators like tan() don’t really need an example as they’re so self-evident.

One major change is adding a left-side attribute to indicate the sort of date returned. So:

$MyColor.blue

will be:

$MyNumber = MyColor.blue;

I’ve also added a note explaining some of the general syntax concepts, in a new note ‘Code examples using attributes with a ‘My’ prefix’.

At present, I’ve only reviewed the action code operator notes but I’ll try and use the same convention elsewhere in the doc and look at adding export functionality to add a link to the above explanatory note in notes using code examples.

I hope that helps those trying to get started with action code. Error/typo reports welcome.

6 Likes

Your wages should be doubled – if only there were wages :slight_smile:

:clap::clap::clap::clap: Thank you @mwra for your wonderful aTbRf.

5 Likes

@mwra,

Thank you for all your efforts on behalf of the Tinderbox community! :heart:

2 Likes