Sha256: 276caf94456c54b820bf5991cb1c52506440e18ddd8e8f8f233d8045bb67dfc7
Contents?: true
Size: 466 Bytes
Versions: 4
Compression:
Stored size: 466 Bytes
Contents
def playcalcscript nametext = "%s" % [@a_calcscriptcmd] begin # exception trapped block fileName = $calcscript_directory +"/"+ 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