Picomite/PicoMiteVGA V5.07.05 release candidates


Author Message
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3068
Posted: 10:45pm 02 Oct 2022      

" MM.INFO(CPUSPEED) appears to be a string"

It is also MM.INFO$() so I had assumed everything produced by MM.INFO() was a string and use Val() to get the number.

Edit
Manual

MM.INFO()
MM.INFO$()
These two versions can be used interchangeably but good programming
practice would require that you use the one corresponding to the returned
datatype.

MMM.INFO$(CPUSPEED) Returns the CPU speed as a string.
Edited 2022-10-03 09:15 by phil99