Sha256: ee20c6568b7e291faa8b8427b7fd515eda8498cbe8e950a814d4352ac5e855ef
Contents?: true
Size: 560 Bytes
Versions: 8
Compression:
Stored size: 560 Bytes
Contents
# this method views an existing address record def deletecalcscriptrecord require 'fileutils' if @a_calcscriptfilename $currentscriptname = @a_calcscriptfilename end begin # exception trapped block fileName = $calcscript_directory + "/" + $currentscriptname + ".math" File.delete(fileName) @calcscriptfilechangeresult = "File Deleted!" $currentscriptname = "" rescue @calcscriptfilechangeresult = "File Deletion error" end # exception rescue end
Version data entries
8 entries across 8 versions & 2 rubygems