Hi

Look at this code:


FUNCTION EvalAsString( cExp )
   LOCAL cValue

   cExp := "c:\"

   BEGIN SEQUENCE
      cValue := eval( &( "{|| " + cExp + "}" ) )
   RECOVER
      cValue := cExp
   END SEQUENCE

   IF !hb_isChar( cValue )
      cValue := ""
   ENDIF

   RETURN cValue


RECOVER does not recovers it and application produces a GPF or hangs.
Is such evaluations prohibited ?

Viktor, some of these points are where prg code produces GPF and we are not
aware.

Regards
Pritpal Bedi


-- 
View this message in context: 
http://old.nabble.com/BEGIN-END-SEQUENCE--Fails-or-is-intended-as-such---tp26669736p26669736.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to