#66650 - 2002-06-11 10:53 PM
Re: Round 2: KiXtart Golf Tournament Part III
|
Howard Bullock
KiX Supporter
![*](/forums/images/general/default/star.gif) ![*](/forums/images/general/default/star.gif) ![*](/forums/images/general/default/star.gif) ![*](/forums/images/general/default/star.gif)
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
$x = NOT ?
Yes...Script error: Error in expression.!
|
Top
|
|
|
|
#66653 - 2002-06-12 03:37 AM
Re: Round 2: KiXtart Golf Tournament Part III
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Unless someone can get the script I posted below 231, is this kixgolf over? Because I think I have a great idea (a VERY useful one, too), for the next kixgolf...
Brian
|
Top
|
|
|
|
#66654 - 2002-06-12 04:03 AM
Re: Round 2: KiXtart Golf Tournament Part III
|
Howard Bullock
KiX Supporter
![*](/forums/images/general/default/star.gif) ![*](/forums/images/general/default/star.gif) ![*](/forums/images/general/default/star.gif) ![*](/forums/images/general/default/star.gif)
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Brian, you did a hell of a good job here.
|
Top
|
|
|
|
#66655 - 2002-06-12 04:47 AM
Re: Round 2: KiXtart Golf Tournament Part III
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Thanks Howard! You did great, too. I wouldn't have done as well except you pushed me to the limit! lol
Brian
{hmm. let's not forget Shawn! Lots of great ideas there, too!} [ 12 June 2002, 04:51: Message edited by: BrianTX ]
|
Top
|
|
|
|
#66659 - 2002-06-12 02:20 PM
Re: Round 2: KiXtart Golf Tournament Part III
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Way to go Jooel!
(I pretty much gave up on it because I was tired of messing with it! lol) Now, if everyone is satisfied that it has been shrunk satisfactorily, we need to add error checking to make it useful to post... (of course, I would think we all should get credit for it!)..
Requirements:
1. All bases fall between 2 and 36 2. The numerals are all less than the base converting from 3. invalid characters (including the ones in the ascii chart between 0-9 and A-Z) are not accepted. 4. Anything falling outside of the accepted input range causes the function to exit with errorlevel 1 and empty string returned. ....
Brian [ 12 June 2002, 15:05: Message edited by: BrianTX ]
|
Top
|
|
|
|
#66665 - 2002-06-12 03:34 PM
Re: Round 2: KiXtart Golf Tournament Part III
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
I thought of converting to base 2 instead of base 10 right off the bat... Base 2 is fairly easy to convert to. It's a lot simpler to convert FROM base 2 than using the MOD function, as well.
Brian
|
Top
|
|
|
|
#66667 - 2002-06-12 03:49 PM
Re: Round 2: KiXtart Golf Tournament Part III
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
I dunno.. still thinking on it.. Honestly, I don't think we're going to get much tighter code than we have.
Brian
|
Top
|
|
|
|
#66669 - 2002-06-12 03:59 PM
Re: Round 2: KiXtart Golf Tournament Part III
|
BrianTX
Korg Regular
Registered: 2002-04-01
Posts: 895
|
Ok.. now to make it usable with error checking.. any takers?.. i'm starting to work on that now..
Brian [ 12 June 2002, 16:18: Message edited by: BrianTX ]
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 132 anonymous users online.
|
|
|