All posts by hosted

Major Changes

Major Changes to ABML are underway, please see the Reference text, in short at this time:

1) There are no longer ANY ‘singleton’ ABML tags, that is, tags that take the form:

<tag />

Instead now use:

<tag></tag>

2) Boolean Attributes in tags are being replaced with true/false values, that is:

<tag attribute></tag>

is becoming:

<tag attribute=”true”></tag>

or

<tag attribute=”false”></tag> (although this is redundant you can just leave the attribute out)

Change (1) site-wide substitutions have been made (that is, all your tags oughht to have been replaced with the new form automatically by my scripts, hopefully). Change (2) has yet to have the substitutions made, however since you OUGHT NOT to be using the Editor whilst I am making my major updates this ought not to concern you yet. Just remember the language changes for future coding.

Combat Function was never broken New Expression Evaluation Bug Discovered

There is a bug with function parameters. Again. This time I have discovered that a calculation performed within passing to a function parameter list that is not parenthesised i.e. &myfunc(1,2,3,4+5,6); will not behave as expected. Please parenthesise your calculations within function parameters like so: &myfunc(1,2,3,(4+5),6); to see desired results.

I’m fairly sure this is to do with the precedence of the comma listbuilder operator being somehow incorrect. Please expect random crashing while I work on this bug.

ABML attributes may now be single quote enclosed

Until now ABML tags had to have their attributes enclosed in double quotes like so:

<tt ref=”123″>Turn to 123</tt>

Now you are permitted to alternatively use single quotes like so

<tt ref=’123’>Turn to 123</tt>

This may be useful for SEL script writers who wish to use double quotes inside their tags instead of being forced into single quote useage only (yes I am looking at making variables intrerpolate inside double quoted strings one day, all being well, this is a step toward that).