Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Function Index > C > CVAL

ERROR DETAIL

Scroll Prev Top Next More

(CVAL('ERROR DETAIL'))

 

When an -ERROR- occurs, you can track additional information including the name of the file being run and the byte offset within the file. If the thing being run is a procedure it saves information on the select used to fetch the procedure too. We have implemented a new method of simple "stack" to keep the last three errors. To see the information tracked use this new CVAL option.

 

SET VAR vError = (CVAL('ERROR DETAIL'))

 

Each time you call this particular CVAL function the stack pointer decrements so successive calls allow you to see all three errors. Call it a fourth time and you will see the first one again, etc.