Page 1 of 1

OT: A difference between clipper and xHarbour

PostPosted: Wed Oct 27, 2010 11:52 am
by MarcoBoschi
Hi,
due to the run-time error in a routine I found a difference between xHarbour and clipper

FUNCTION MAIN()

LOCAL cString := "4327824378924398243789243"

LOCAL nValue := VAL(cString)

? nValue // display ********************

? CHR( nValue ) // at this point a windows error dialog apperas and application continue do run
// until I don't kill it using task manager

RETURN NIL


the same function in clip53b works fine

Re: OT: A difference between clipper and xHarbour

PostPosted: Wed Oct 27, 2010 12:41 pm
by Enrico Maria Giordano
As I already wrote in comp.lang.xharbour, your sample works fine here using latest xHarbour from CVS and BCC 6.30.

EMG

Re: OT: A difference between clipper and xHarbour

PostPosted: Wed Oct 27, 2010 1:24 pm
by MarcoBoschi
sorry you are right I have not mentioned the version

many thanks

marco