Amen!
First there was sliced bread...
Then there was LC text parsing...
Then came ARRAYS!
(choir singing in background)
Phil Davis
On 11/17/16 7:59 AM, Bob Sneidar wrote:
Take Richard's advice. I did and I've never looked back. There are some
situations where text parsing becomes cumbersome.
Take Richard's advice. I did and I've never looked back. There are some
situations where text parsing becomes cumbersome.
Bob S
> On Nov 16, 2016, at 16:51 , Richard Gaskin wrote:
>
> JOHN PATTEN wrote:
> > When you don’t use arrays very much, and you have old, slow, brute
> > force scriptin
Yeah, you can use the same handler because order doesn't matter. It
sounded from your description like the barcode was unique to 1 item, so it
should work dandy. Once the array is built (assuming you decide to leave
it as an array and not combine it) the array is keyed by the barcode so its
easy
JOHN PATTEN wrote:
> When you don’t use arrays very much, and you have old, slow, brute
> force scripting skills, arrays are kind of hard to wrap your head
> around. But I obviously see their advantages :)
Arrays are so useful in so many contexts that they're well worth
spending an afternoon exp
ot;csv2") of fld "csv2" &
return after temp
end repeat
put temp into fld "Upload File"
end mouseUp
Me too.
Craig
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Inconsistent-results-in-simple-scri
context:
http://runtime-revolution.278305.n4.nabble.com/Inconsistent-results-in-simple-script-tp4710376p4710386.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please
s rule the procedure. Nor does it matter anymore if the lists are not
of the same length. Arrays automatically manage all that.
Craig
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Inconsistent-results-in-simple-script-tp4710376p4710385.html
Sent from the
t;SDTKNY12345"?
>>>> Would you simply have two lines:
>>>>
>>>> 12345,johndoe
>>>> 12345,SDTKNY12345
>>>>
>>>> Also, I do not understand what you mean when you said:
>>>>
>>>>
JOHN PATTEN wrote:
> I have two, two column lists. Each list has the same barcode item
> (item 1). The second item in the first list is a username, and the
> second item in the second list is a serial number. I am trying to
> combine the username and serial number into one list. I have about
> 10
;>
>>> Does that mean that in your 1000 line first list, the usernames appear
>> with
>>> multiple barcodes? Or are those lines empty? Or is that list now only 30
>>> lines long?
>>>
>>> It looks like this begs for an array, but I am missing what you ex
t mean that in your 1000 line first list, the usernames appear
> with
> > multiple barcodes? Or are those lines empty? Or is that list now only 30
> > lines long?
> >
> > It looks like this begs for an array, but I am missing what you expect as
> > output. What
the clear"?
Craig
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Inconsistent-results-in-simple-script-tp4710376p4710380.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-livecode maili
e this begs for an array, but I am missing what you expect as
> output. Whatever it is, the procedure will be simple. But I cannot even
> start to advise about that procedure until I know what the answer is.
>
> Craig
>
>
>
> --
> View this message in context:
>
On another note, are you an old Hypercard user? I noticed you used the term
"cd fld".
Craig
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Inconsistent-results-in-simple-script-tp4710376p4710378.html
Sent from the Revolution - User mailing list
lution.278305.n4.nabble.com/Inconsistent-results-in-simple-script-tp4710376p4710377.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe,
Hi All,
I have two, two column lists. Each list has the same barcode item (item 1). The
second item in the first list is a username, and the second item in the second
list is a serial number. I am trying to combine the username and serial number
into one list. I have about 1000 lines in each li
16 matches
Mail list logo