#178248 - 2007-07-23 09:26 PM
Re: KiXgolf Freebie: Quicksum
[Re: Benny69]
|
acmp
Getting the hang of it
Registered: 2004-07-02
Posts: 69
Loc: Bingham, Nottinghamshire, Engl...
|
Benny69, I have no idea why that works
What is going on?
I guess the left($,~) is some sort of walk through the string...
But I just can't see how this works. Any chance of an explination?
_________________________
Every day is a school day
|
|
Top
|
|
|
|
#178252 - 2007-07-23 09:35 PM
Re: KiXgolf Freebie: Quicksum
[Re: Lonkero]
|
Benny69
Moderator
   
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
acmp, left($,~) chops off the right most chr so ACM becomes AC, then it is sent back into the loop and then i am calling the function to create the count down a(left($,~))
Edited by Benny69 (2007-07-23 09:38 PM)
|
|
Top
|
|
|
|
#178253 - 2007-07-23 09:41 PM
Re: KiXgolf Freebie: Quicksum
[Re: Benny69]
|
acmp
Getting the hang of it
Registered: 2004-07-02
Posts: 69
Loc: Bingham, Nottinghamshire, Engl...
|
Thanks Benny69
_________________________
Every day is a school day
|
|
Top
|
|
|
|
#178261 - 2007-07-23 10:03 PM
Re: KiXgolf Freebie: Quicksum
[Re: Allen]
|
Benny69
Moderator
   
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
wow Allen, ours is very similar
|
|
Top
|
|
|
|
#178264 - 2007-07-23 10:07 PM
Re: KiXgolf Freebie: Quicksum
[Re: Allen]
|
Benny69
Moderator
   
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
here is 81:
Function a($)
dim $b
if $
$b=asc(right($,1))-64
$a=a(left($,~))+($b>)*$b*($^)
EndFunction
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 583 anonymous users online.
|
|
|