contents   index   previous   next



SimpleDataset getLastErrorCode()

syntax:

return:

description:

see:

example:

simpledataset.getLastErrorCode()

number - integer specifying error code

 

This method returns an integer containing the code of any error encountered by the last SimpleDataset method call. The error codes/strings are reset whenever a SimpleDataset method is called (excluding getLastErrorCode() and getLastError()).

 

#include <smdtset.jsh>, SimpleDataset getLastError()

 

// get the error code

errCode = ds.getLastErrorCode();


SimpleDataset getLastError()