> ## Content Index
> Fetch the complete content index at: https://nolongerset.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# twinBASIC Update: August 7, 2022
- URL: https://nolongerset.com/twinbasic-update-august-7-2022/
- Published: 2022-08-07T13:07:04.000Z
- Updated: 2026-05-08T12:55:49.000Z
- Description: Highlights include a major compiler refactor to help reduce compiler memory usage and proposed support for multiple built-in rounding methods.
- Author: Mike Wolfe
- Tags: twinBASIC Weekly Update, #Import 2026-05-20 02:59

*On April 23, 2021, I helped [Wayne Phillips](twitter.com/WaynePhillipsEA/) introduce the world to [twinBASIC](https://www.twinbasic.com/) at the [Access DevCon Vienna](https://www.donkarl.com/devcon/) conference. I [boldly predicted](https://nolongerset.com/devcon-2021/) that twinBASIC (along with the Monaco editor) would replace VBA and its outdated development environment by 2025\. With that goal in mind, this weekly update is my attempt to keep the project fresh in the minds of the VBA development community.*

*Every Sunday, I will be providing updates on the status of the project, linking to new articles discussing twinBASIC, and generally trying to increase engagement with the project. If you come across items that should be included here, tweet me [@NoLongerSet](https://twitter.com/NoLongerSet) or email me at mike at nolongerset dot com.*

*Here are some links to get involved with the project:*

- **[Custom twinBASIC IDE Installation Guide](https://nolongerset.com/how-to-standard-dll-with-twinbasic/#1-install-twinbasic)* (NOTE: the twinBASIC VSCode extension is under a feature freeze until 2023)*
- *[GitHub Issue Tracker (report bugs)](https://github.com/WaynePhillipsEA/twinbasic/issues)*
- *[twinBASIC Discord Server](https://discord.com/invite/UaW9GgKKuE) ([chat about the project](https://github.com/WaynePhillipsEA/twinbasic/discussions/629))*

---

## Highlights

### Compiler Refactor

The changelog was uncharacteristically quiet this week. This [note from Wayne](https://discordapp.com/channels/927638153546829845/927638154192748606/1005744712885489745) in the twinBASIC Discord server likely explains why:

> Finished a big compiler refactor this week that will massively help me in tracking compiler memory usage. Using this new tracking data, I've already reduced overall memory use by 10% with just a few tweaks. Much more to come.

### 

## Around the Web

### Proposed Support for Multiple Built-in Rounding Methods

[Mark Burns requested adding support](https://github.com/twinbasic/twinbasic/issues/1071) for more than just the VBx bankers rounding approach:

> I see that tB echo's VBx's Bankers rounding. Fine and good. but can we have a NON-Bankers' rounding alternative function too?

As Ben Clothier pointed out, there are [several rounding approaches](https://en.wikipedia.org/wiki/Rounding), beyond simply bankers rounding and arithmetic rounding. His recommendation to add an enum for the various approaches, with banker's rounding being the default, seems like the most sensible to me:

> If one wants to have native implementation of those methods, an enum would do the job better even if we only enable a subset of the different methods available.

Like Ben, I'm ambivalent about whether these additional methods of rounding should be native. However, one argument in favor of doing that is it could add some transparency to the *default* rounding method that VBx uses. For example, imagine that this is what new users saw in IntelliSense when calling the `Round` function:

```vba
Round(Number, 
      [NumDigitsAfterDecimal As Long = 0], 
      [RoundingMethod As vbRoundMethod = vbBankers])
```

Even if they had never heard of banker's rounding before, the mere mention of it in IntelliSense would likely inspire a quick Google search to figure out what it's all about.

## Changelog

Here are the updates from the past week. You can also find this information by visiting the GitHub [twinBASIC Releases page](https://github.com/WaynePhillipsEA/twinbasic/releases).

[Releases · WaynePhillipsEA/twinbasicContribute to WaynePhillipsEA/twinbasic development by creating an account on GitHub.![](https://github.githubassets.com/favicons/favicon.svg)GitHubWaynePhillipsEA![](https://opengraph.githubassets.com/13bf5f13278e5633e644e312c6a75cfe0baf97f01dd45660573b36f5de0ee945/WaynePhillipsEA/twinbasic)](https://github.com/WaynePhillipsEA/twinbasic/releases)

### BETA 90

- fixed: codegen flag clobbering edge cases causing Or/Else evaluation issues in some instances \[ https://github.com/[/issues/1077](https://github.com/twinbasic/twinbasic/issues/1077) \]
- fixed: Continue-Do on a Do loop with trailing conditional expression was not evaluating the condition \[ https://github.com/[/issues/1075](https://github.com/twinbasic/twinbasic/issues/1075) \]