javascript - Uncaught ReferenceError: bedCostOutput is not defined -


//bedcostoutput has been defined below i'm getting error function has not been defined. program should pull data outside file , process//

function processbedcostclass() {     this.calculatedeliverycredit = calculatedeliverycredit;     this.calculatetradecredit = calculatetradecredit;     this.calculatebeddiscount = calculatebeddiscount;     this.calculatefinalbedcost = calculatefinalbedcost; }  function drivermodule_click() {     openbedcostfile();     processbedcostfile();     closebedcostfile(); }  function processbedcostfile() {     {         bedcostinput();         processbedcost1.calculatedeliverycredit();         processbedcost1.calculatetradecredit();         processbedcost1.calculatebeddiscount();         processbedcost1.calculatefinalbedcost();         bedcostoutput();      } while (!feof(infile)); }  function bedcostinput() {     processbedcost1 = new processbedcostclass();     inline = readline(infile);     if (inline) {         params = inline.split(",");         processbedcost1.markedprice = number(params[0]);         processbedcost1.delivery = params[1];         processbedcost1.tradein = params[2];     } } 


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -