Added scidb_sample.int convenience function