mm.info(flash  size)


Author Message
nbrok

Regular Member

Joined: 13/02/2023
Location: Netherlands
Posts: 59
Posted: 08:26am 23 Mar 2023      

@Peter
A stupid question: what does mm.info(flash size)?
When I type print mm.info(flash size) it returns 0
I know it would report the size of flash memory, but what memory?
I use the 5.07..07b28 version.
Did I discover a new bug or is the flash memory an optional thing?
The flash slots do work and the A: drive also.

Edited 2023-03-23 18:27 by nbrok

Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9149
Posted: 08:36am 23 Mar 2023      

Yeah, I am getting that also.



matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8654
Posted: 08:36am 23 Mar 2023      

mm.info(flash) returns the flash slot currently running a program - normally 0
mm.info(option flash size) returns the size of the flash memory chip

Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9149
Posted: 08:41am 23 Mar 2023      

Manual page 74 says to use the former.
When did the syntax change?





...or the manual needs updating.

EDIT: Option Flash Size crashes the PM, but it could be cos I am using a version below, so I will update and try again.
Edited 2023-03-23 18:43 by Grogster

nbrok

Regular Member

Joined: 13/02/2023
Location: Netherlands
Posts: 59
Posted: 09:28am 23 Mar 2023      

  matherp said  mm.info(flash) returns the flash slot currently running a program - normally 0
mm.info(option flash size) returns the size of the flash memory chip

Thanks... so it becomes the time that the manual has to be updated, because a lot has changed.  
Edited 2023-03-23 19:29 by nbrok

nbrok

Regular Member

Joined: 13/02/2023
Location: Netherlands
Posts: 59
Posted: 09:31am 23 Mar 2023      

  Grogster said  Manual page 74 says to use the former.
When did the syntax change?





...or the manual needs updating.

EDIT: Option Flash Size crashes the PM, but it could be cos I am using a version below, so I will update and try again.

To inform you, mine is not crashing, latest beta as mentioned in my first message.

matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8654
Posted: 09:32am 23 Mar 2023      

  Quote  so it becomes the time that the manual has to be updated, because a lot has changed.


manual is updated when there is a new release

Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 5882
Posted: 12:06pm 23 Mar 2023      

... which depends on three things, Peter's boredom threshold, Geoff's workload and the phase of the moon. :)

Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 959
Posted: 12:38pm 23 Mar 2023      

  Mixtel90 said  ... which depends on three things, Peter's boredom threshold, Geoff's workload and the phase of the moon. :)

and the relative lunar humidity