On Sat, 14 Mar 2009, marek.horody...@interia.pl wrote:
> When I try compile this code :
[...]
>    b := { |n, x|
>    y :=  valtype( n)
>    // test switch in extendend codeblok 
>    SWITCH  y
>    CASE  'N'
>       x := Str( n)
>    Break
     ^^^^^
>    CASE  'D'
>       x := DTOC( n)
>       BREAK
        ^^^^^
>    otherwise
>       x := n
>    END
>    RETURN x
> }
[...]

> with Pripitals einvionment (xMate and owatcom), I have exe, but when it is 
> executed, oErr is empty (error in error segment).
> I don't know (dont have info) where is error.

See above you used explicitly BREAK without error object parameter.
I guess you wanted to used EXIT in the SWITCH statement.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to