Bernd, you're absolutely correct. These differences are very small, but can really accumulate.
In my Sha functions, even quite small inputs can result in millions of iterations in the inner loops. I found it made a worthwhile difference to use literals instead of constants, and to put functions ...
Search found 177 matches
- Wed Oct 28, 2009 3:58 pm
- Forum: Talking LiveCode
- Topic: faster treatments in UDP connecion
- Replies: 10
- Views: 10072
- Wed Oct 28, 2009 3:54 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Ramdom
- Replies: 4
- Views: 5045
- Wed Oct 28, 2009 1:04 pm
- Forum: Talking LiveCode
- Topic: faster treatments in UDP connecion
- Replies: 10
- Views: 10072
- Wed Oct 28, 2009 12:37 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Ramdom
- Replies: 4
- Views: 5045
- Wed Oct 21, 2009 11:56 am
- Forum: Converting to LiveCode
- Topic: Perl/PHP Hash array
- Replies: 2
- Views: 9130
- Thu Oct 15, 2009 10:52 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: "Recognition" of upper or lower case in a field
- Replies: 4
- Views: 5502
To test for uppercase ASCII chars:
Best,
Mark Smith
Code: Select all
function isUpper pChar
get charToNum(pChar)
return it >= 65 and it <= 90
end isUpperMark Smith
- Thu Oct 15, 2009 10:48 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Putting values into globals via a repeat loop
- Replies: 4
- Views: 5474
You could also have a global array:
Best,
Mark Smith
Code: Select all
global tw
on mouseUp
repeat with tWords = 1 to gWordCount
put tWords into tw["gw" & tWords]
end repeat
end mouseUpMark Smith
- Mon Oct 12, 2009 11:12 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Numbers or text only in a field?
- Replies: 4
- Views: 6092
- Mon Oct 12, 2009 11:07 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: unidecode(uniencode()) removes characters??
- Replies: 4
- Views: 5737
I think you need to move the "utf8" declaration into the unidecode call:
The way you had it will translate a string from utf8 to whatever your system's encoding is.
Best,
Mark Smith
Code: Select all
unidecode(uniencode("åäö are som swedish characters"),"UTF8")Best,
Mark Smith
- Sat Oct 10, 2009 2:32 am
- Forum: Feature Proposals
- Topic: A very strange equality
- Replies: 5
- Views: 4542
- Mon Oct 05, 2009 12:08 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Files in folder with stand alone program?
- Replies: 2
- Views: 3868
- Sat Oct 03, 2009 12:25 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Avoiding identical numbers in random number sequence
- Replies: 12
- Views: 11937
- Mon Sep 28, 2009 10:48 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How to generate a unique machine ID Crossplatform
- Replies: 6
- Views: 9483
- Fri Sep 25, 2009 2:25 pm
- Forum: Announcements
- Topic: libRevFreeDB
- Replies: 2
- Views: 4873
You're quite right - I've actually just uploaded a new version (1.0.1b) in which this is fixed, but more importantly, it now works on Windows with the limitation that it can only see CDs in drive D, and can't cope with "mixed mode" CDs that have non-audio content.
I need to see about getting around ...
I need to see about getting around ...
- Fri Sep 25, 2009 2:06 am
- Forum: Announcements
- Topic: libRevFreeDB
- Replies: 2
- Views: 4873
libRevFreeDB
I've made a library to get CD track data from FreeDB. It currently uses the pList that OS X builds for each inserted CD to get the info it needs to query FreeDB, so it's OS X only until I figure out how to get the info on Windows and Linux.
It's here:
http://maspub.s3.amazonaws.com/libRevFreeDb ...
It's here:
http://maspub.s3.amazonaws.com/libRevFreeDb ...