When I try compile this code :
FUNCTION Main()
LOCAL b, y, oErr
begin sequence
? 'Hello world'
InKey( 1)
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
}
? 'Blok zrobiony!'
InKey( 1)
? b:Eval( date())
inKey( 1)
? 'i jak '
inKey( 5)
? 'no popatrz'
recover using oErr
? 'No i mamy blad'
? oErr:osCode
? oErr:subsystem()
? oErr:severity
? oErr:subCode
? oErr:moduleName
? oErr:description
? oErr:filename
? oErr:operation
? oErr:genCode
? oErr:args
END sequence
InKey( 1)
RETURN Nil
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.
When I try build with todays einvironment from naightly zip file, I dont have
exe and any info/log file.
Regards,
Marek Horodyski
----------------------------------------------------------------------
Jak zosta� TIR-owka? >>> http://link.interia.pl/f2082
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour