New topic: I need a Idea ToDo this
<http://forums.realsoftware.com/viewtopic.php?t=47275> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message jetpr Post subject: I need a Idea ToDo thisPosted: Tue Mar 12, 2013 9:03 pm Joined: Wed Sep 20, 2006 5:12 pm Posts: 610 Location: Puerto Rico I need to make some algorithm to approve credit to some customers. When the employee called the owner to see if the credit approved as the owner runs a small APPLICATION or a mathematical calculation and gives the approval number that customer credit. Something like that is the idea _________________ Thanks for any contribution and God blesses all (I start Using RS in 10/12/2010) Mac Mini with Snow Leopard v10.6.8 and Real Studio 2012r1 Pro And Windows 7 RS2012r1 Personal and Linux RS2012r1 Personal Register user my Hobbies R/C Turbines Jets Models Top kermit Post subject: Re: I need a Idea ToDo thisPosted: Wed Mar 13, 2013 1:48 am Joined: Mon May 30, 2011 12:56 am Posts: 639 Really not enough information. Based on just that: constant CredLimit as double = 1000.00 If (AmountCurrentlyOwed + AMountBeingAskedFor) < CredLimit then msgbox "Approve" else msgbox "Do not Approve : available credit = " + format (credLimit - AmountCurrentlyOwed,"0.00) end if Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
