![]() |
Forum Index : Microcontroller and PC projects : MM Manual Bug, Str$(Var) vs Str$(funct)
Author | Message | ||||
twofingers![]() Guru ![]() Joined: 02/06/2014 Location: GermanyPosts: 1577 |
@Geoff regarding the description in MMBasic Manual Ver 5.1 (eg p54): DIM a, b$, nbr(100), str$(20)
DIM a(5,5,5), b(1000) DIM str$(200) LENGTH 20 DIM STRING str(200) LENGTH 20 This shows IMHO a wrong and misleading use of the (array) variable name STR$(). STR$() is a reserved word, a MMBasic function and I fear it could confuse some beginners. This only applies to the manual! Proof: Dim Str$(1)=("TEST","BEST")
Print Str$(1) Regards Michael causality ≠ correlation ≠ coincidence |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3285 |
Thanks Michael, well spotted. I will update the manual for the next release. Geoff Graham - http://geoffg.net |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |