Hi Craig,
sort lines of myList by length(each)
sort lines of myList by the length of each
sort lines of myList by number of chars of each
"Each" is simply the element that's currently being sorted, as if you put a
repeat loop into one line of syntax.
--
Best regards,
Mark Schonewille
Economy-
On Dec 11, 2011, at 9:04 PM,
wrote:
>
> I can do this the long way, but is there a clever sortkey that will sort
> lines by the length of those lines?
>
> In other words, if I have a variable myVar with:
>
> aaa
> xxx
>
>
> I want to write something like:
>
> sort myVar by the len
Sorry, should have made a new thread.
I can do this the long way, but is there a clever sortkey that will sort lines
by the length of those lines?
In other words, if I have a variable myVar with:
aaa
xxx
I want to write something like:
sort myVar by the length of each
to
I can do this the long way, but is there a clever sortkey that will sort lines
by the length of those lines?
In other words, if I have a variable myVar with:
aaa
xxx
I want to write something like:
sort myVar by the length of each
to yield:
xxx
aaa
Thanks,
Craig
If you run the mac console app this will output simulator errors or 'put'
messages in your code, or if its a device you can track the messages in xcode.
Paths are pretty specific, I find keeping everything lower case really helps.
Some really useful code someone posted a while back is using t
On 12/11/11 1:55 PM, edward cawley wrote:
how can I see what is happening in the
simulator, what is it downloading? I can't check it on the desktop
since I get an execution error on the ios control command?
You can log whatever you need in the simulator, and the output will show
up in the Cons
Two problems.
1. I've got a problem with image file names. I am developing an app of plant
descriptions. It has 42 cards, one for each plant species. Each cd is the same
template, the text and images are the only things that change. 40 of the cards
work fine but two have a problem with small mov
Hi All,
Just today I found time to read all the messages
in this thread.
I have concluded that it would be necessary
for my project, to keep my own ID list, different
than the ID LiveCode assigns to each object.
The other task is to catch the mouse messages
before each transformation is applied.
Hi Andy,
You can set conditional proprties in a savingStandalone handler or the
revSaveAsStandalone command, although this would be a little complicated (using
the cRevStandaloneSettings property).
You can export images to JPEG after setting the paintCompression to JPEG,the
JPEGQuality to 50
Thanks Mark,
I ran into problems with an app submitted to the Apple store which had images
in a folder containing references in their name to android as I was planning on
porting it over, so ive tended to put the images in the stacks as they are
then hidden and never really given the memory is
Hi Andrew,
put the size of img 1
put the length of img 1
both work. Also keep in mind that the amount of (virtual) memory used by images
is a multiple of the stored size. Therefore it might be a bad idea to store
many images inside a stack and references image objects might be a better way.
--
Is it possible to extract a list of how much space images stored in a stack are
using?
Im looking at some of my application sizes and figure they must be carrying a
lot of large images, but forgotten which I optimised and which were just copy
and pasted in! There are quite a few images, so I
12 matches
Mail list logo