[Gambas-user] IsSpace error or bug?

Benoit Minisini gambas at ...1...
Sat May 6 18:20:27 CEST 2006


On Saturday 06 May 2006 02:19, ron wrote:
> In wiki http://gambasdoc.org/help/lang/isspace
>
> A space is one of the following characters:
> A space " ",
> A form-feed "\f", <--- not allowed !!!
> A newline "\n",
> A carriage return "\r",
> A horizontal tab "\t",
> A vertical tab "\v".  <--- not allowed !!!
>
> PRINT IsSpace(" \n \r\n")
> True
>
> PRINT IsSpace(" \n \r\f") <== \f should be space ??
> I get "Bad character constant in string at...."
> Same for \v
>
> gambas2-1.9.29
>
> Ron
>

It seems that the documentation is more advanced than the interpreter :-)

-- 
Benoit Minisini





More information about the User mailing list