[Gambas-user] RE: A Beginner's Guide to Gambas (2)
Charlie Reinl
na2492 at ...9...
Fri Oct 14 23:14:36 CEST 2005
>Thanks Charlie. Obviously, sStringLength on page 125 should be
>iStringLength but sDateTime is a string var used to catch the return
>value from the VAL call, as indicated in the code on page 143.
But for a beginner that will not be logic, that I mean.
he will think around why he change a date to a String, makes a Number
(val) and then he store that number in an String variable ?????????
>
>The font size on those two places you mentioned was reduced to make the
>code fit on a single line - it was a deliberate change and you may find
>that it occurs in a couple of other places as well. Regarding the
>sample code errors in your previous mail, you are correct that it is not
>bulletproof. I will leave that to the readers to correct as I was trying
>to demonstrate how to use Gambas more than I was trying to teach good
>coding skills (something we could probably all take a refresher on)
><grin>. You will find, if you read the chapter on errors, that I do
>cover the topic of making your code more robust. Keep sending your
>feedback - it is all welcome!
>
>regards,
>jr
>
>
>From: Charlie Reinl <Karl at ...1168...>
> A Beginner's Guide to Gambas (2)
>2005-10-14 08:57
>
> Salut John,
>
> this is what I found in the book.
>
>
> -- a little bit of notation but misunderstood, bad for beginners
> DIM sStringLength AS Integer
> ~ page 125 (2*)
>
> sDateTime = Val(Str$(Now))
> PRINT sDateTime; " is a string representation of current system time."
> page 143
>
> page 296 and 297 are very intersting for a beginner, oh yeah
>
> page 348 the line befor END WITH has wrong fontsize.( page 344 also one
>line)
>
>
> Amicalment
> Charlie
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by:
>Power Architecture Resource Center: Free content, downloads, discussions,
>and more. http://solutions.newsforge.com/ibmarch.tmpl
>_______________________________________________
>Gambas-user mailing list
>Gambas-user at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
* Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de *
More information about the User
mailing list