Page 9 of 9 « First<56789
Topic Options
#68300 - 2002-07-20 11:35 PM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
BrianTX Offline
Korg Regular

Registered: 2002-04-01
Posts: 895
Ok... scratch that... I'm actually down to.....

716

Can you squeak any more, Lonkero? [Smile]

Brian

Top
#68301 - 2002-07-20 11:58 PM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
BrianTX Offline
Korg Regular

Registered: 2002-04-01
Posts: 895
It looks like time is up as of right now. My score is 716. I'm going to create a new topic and post my UDF..

Brian

Top
#68302 - 2002-07-22 10:00 AM Re: New KiXtart Golf Challenge! (extended to Saturday, July 20, 6pm EST )
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
Howard, What Erik says is true. Making a UDF of a long named command only gives you a benefit when you use the command more than 3 or so times.

eg:

code:
$=writeprofilestring("c:\filename", "section", "key", "value")
$=writeprofilestring("c:\filename", "section", "key", "value")
$=writeprofilestring("c:\filename", "section", "key", "value")
$=writeprofilestring("c:\filename", "section", "key", "value")

scores 236

versus

code:
function a($section, $key, $value)
$=writeprofilestring("c:\filename", $section, $key, $value)
endfunction
a("section", "key", "value")
a("section", "key", "value")
a("section", "key", "value")
a("section", "key", "value")

scores 202

each line in the first program scores 59, so after 3 of them, the UDF becomes more economical.

Erik, it would be harder, but not impossible, to make a script to count. I wrote a script that converts KiX code to coloured HTML by doing a lookup of the valid KiX commands. It is too old to use now, but the principle is sound.

KiX uses space and CRLF as command separators, so using SPLIT with these 2 as delimiters makes parsing a KiX script relatively easy...

cj

Top
Page 9 of 9 « First<56789


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box
2024-03-08 [mole] Thanks for getting the posts back again.
2024-04-17 [MarineV] db errors
2024-04-18 [MarineV] will the db errors get fixed????
2024-04-26 [Tonny] database error, please!
2024-05-09 [NTDOC] I'm not seeing any errors
2024-05-31 [chojin] DB is down again \:\(
2024-06-04 [selsner] Still no access, please help!
2024-06-07 [mole] Looks like DB is back again. Thanks.
2024-06-17 [It_took_my_meds] We encountered a problem. The reason reported was Database error only visible to forum administrators Please click back to return to the previous page.
2024-07-04 [Armin73] There is still a database error 🤷‍♂️
2024-07-09 [0neZero] There is still a database error 🤷‍♂️
2024-07-10 [Allen] DB working a few times in between the messages above. Working again as of 7/10. Thanks Doc
2024-08-31 [NetGnostic] Bummer, the Database error is back.
2024-09-04 [NTDOC] Fourms are back up without error for the moment
2024-10-02 [Arend_] Wll still have database errors ;-)
2024-10-03 [Allen] Thanks to Doc... it's back.
2024-12-09 [chojin] could we move kixtart to a new place in order to keep it living ? maybe create a github page and a subreddit?
2024-12-10 [Allen] do know about moving it, but I know Doc is aware of the DB issue. Should be back online soon.
2024-12-10 [Allen] don't know...
2025-02-09 [Comet] Greetings. I installed KiX on my new Windows 11 computer, and joined this foum. Hello World!
2025-02-10 [Allen] Welcome
2025-02-15 [Glenn Barnas] Discord? Reddit? New URL?
2025-03-07 [Comet] UBB Error We encountered a problem. The reason reported was Database error only visible to forum administrators
2025-06-30 [mole] Thanks for getting this working again.
2025-07-28 [mole] UBB Error We encountered a problem. The reason reported was Database error only visible to forum administrators
2025-08-01 [Arend_] I think it's fixed, I don't have the problem.
2025-10-06 [Comet] The UBB Error no longer happens for me.
2025-10-21 [M_Moore] UBB Error We encountered a problem. The reason reported was Database error only visible to forum administrators Please click back to return to the previous page.
2025-10-26 [NTDOC] System has been cleaned up. Should be okay again now.
2025-10-26 [Allen] Thank You Doc. Really appreciate your efforts!

Who's Online
1 registered (Allen) and 1198 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.032 seconds in which 0.017 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org