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

Version Path
bigtinker-0.93 code/superant.com.rwdcalc/deletescriptrecord.rb
bigtinker-0.94 code/superant.com.rwdcalc/deletescriptrecord.rb
bigtinker-0.98 code/superant.com.rwdcalc/deletescriptrecord.rb
bigtinker-0.96 code/superant.com.rwdcalc/deletescriptrecord.rb
bigtinker-0.97 code/superant.com.rwdcalc/deletescriptrecord.rb
rwddemo-0.91 code/superant.com.rwdcalc/deletescriptrecord.rb
rwddemo-0.92 code/superant.com.rwdcalc/deletescriptrecord.rb
rwddemo-0.90 code/rwdcalc/deletescriptrecord.rb