Sha256: cf013b10ce6a599f4a1d47bdfbea5cf2a22cfcb09f44246962a10f06532cced3
Contents?: true
Size: 451 Bytes
Versions: 4
Compression:
Stored size: 451 Bytes
Contents
def playcalcscript nametext = "%s" % [@a_calcscriptcmd] begin # exception trapped block fileName = "scripts/" + nametext + ".math" calcfile_contents = File.read( fileName) temp = eval( calcfile_contents) rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end
Version data entries
4 entries across 4 versions & 2 rubygems