|
Forum Index : Microcontroller and PC projects : MM Manual Bug, Str$(Var) vs Str$(funct)
| Author | Message | ||||
| twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1769 |
@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 ‚My name is Ozymandias, king of kings Look on my works, ye Mighty, and despair!‘ Nothing beside remains. Round the decay Of that colossal wreck, boundless and bare The lone and ... |
||||
| Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3368 |
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 2026 |