Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : MM Manual Bug, Str$(Var) vs Str$(funct)
Author | Message | ||||
twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1135 |
@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 |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3165 |
Thanks Michael, well spotted. I will update the manual for the next release. Geoff Graham - http://geoffg.net |
||||
Print this page |