![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
The competition made me look again at my SCalculator and I found a very important capability missing - the capability to use brackets when you want to do a calculation with other order than the mathematical.
The addition of this capability was surprisingly simple - I changed the three registers and the three operation level storage to arrays, and now they work in the same way but for various levels for each pair of brackets. I added another function - the Factorial N!. I shall apreciate comments and suggestions for improvements. For example : almost all the subs start with a set of checks that if they fail the sub ends by "return". If I take this returning part to another common sub, i cannot use "return" because it will return and perform the originating sub instead of getting out. i am sure someone knows how to do it ![]()
__________________
David Erez Ramat Hasharon, Israel |
|
|||
|
I found a way to do it:
the calling sub use " If F_common = false Then Return" and in the common sub, all the checks return false if they are met. Nice talking to myself...
__________________
David Erez Ramat Hasharon, Israel |
|
||||
|
I have found that the simples way of resolving emerging issues,...they always seems to laugth at us as sying " You'll never find the simples ansewer that is right under your nose!!"
Them if that fails I come to the forum and ask the "stuppidiest" (notice the quotes!!) and find that the ansewr had already pass by me but I was too busy making the question... Anyway glad to have here..as I recall you are one of the Original "samlers" of basic4ppc, right...?
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
|
|||
|
I think that the need to phrase your problem and write it down has some effect on the growing of the solution inside you...
and yes - I have started with version 4 and since then it became a large consumer of my free time...
__________________
David Erez Ramat Hasharon, Israel |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SCalculator 3 | derez | Share Your Creations | 22 | 02-08-2008 01:44 PM |
| SCalculator 4 | derez | Share Your Creations | 5 | 01-08-2008 11:22 AM |