Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 102 by adamn...@gmail.com: (Minor) help error for Settings array  
write
http://code.google.com/p/gambas/issues/detail?id=102

1) Describe the problem.
This is pretty minor, but the help for Settings array write says

"hsettings [ Key as String [ , Default As Variant ] ] = aVariant"

but

   Settings["Cow","milk"] = "coffee"

fails at run time with a "Too many arguments" error.




(This is a bit of a shame actually, because it would have been a cool way  
to set a default setting if the assignee is null, as in the case where the  
setting
is being set from say a user control and the user enters nothing. Like in

   Settings["Cow","milk"] = FMyCowSetting.Text

Such is life! )

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):
N/A

3) Provide a little project that reproduces the bug or the crash.
N/A

4) If your project needs a database, try to provide it, or part of it.
N/A

5) Explain clearly how to reproduce the bug or the crash.
N/A




------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to