,Harry into tPeople
split tPeople using ,
-- tPeople is now an array that holds 4 elements
put tPeople[1] -- puts Ken
put tPeople[2] -- puts Simon
put tPeople[3] -- puts Richard
put tPeople[4] -- puts Harry
HTH,
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http
I'd like to learn a little about how Metacard's split function works.
I tried reading the reference stack but I'm unsure about what it means
to split a variable *using pd*.
What's pd?
If the responder can provide a real-world sample it'd be much
appreciated.
Sincerely,
Simon
Whoops, I thought we could split a fld directly without having to place
it into a variable. Ok, so i think I have it working and tested a
paragraph of text using to split the text and place it into a
second fld.
This worked, but curiously the paragraph which was combined using #
appears
pd is primary delimiter (and sd is secondary delimiter).
Here's a simple example where you can take a list of people's names and put
them into a numerically indexed array:
put Ken,Simon,Richard,Harry into tPeople
split tPeople using ,
-- tPeople is now an array that holds 4 elements
put tPeople
I am getting back into programming after being overrun with other tasks
necessary in making a living.
I am using split and combine with tab-delimited data. The data is returned
in a different order with combine than it was originally configured. I can,
of course, regather the data with a repeat
On 4/30/04 6:49 PM, Raymond E. Griffith wrote:
I am using split and combine with tab-delimited data. The data is returned
in a different order with combine than it was originally configured. I can,
of course, regather the data with a repeat for each line in keys(foo) type
of coding
on 4/30/04 9:43 PM, J. Landman Gay at [EMAIL PROTECTED] wrote:
On 4/30/04 6:49 PM, Raymond E. Griffith wrote:
I am using split and combine with tab-delimited data. The data is returned
in a different order with combine than it was originally configured. I can,
of course, regather the data
Still working on the array issue. The array is multi-dimensional.
There are always 2 numbers to get to a piece of info. The info
retrieved is one line of data, originally comma delimited, but now
delimited by semi-colon, as I thought the comma was throwing off the
combine/split functions (I
algorithm. Whenever the index field (field 1) is found in some data,
replace it with the indexed field (field 2).
So, I want to use the split command to create this array, but trying to
split on return, or newline, or cr, or numToChar(10) ... this is a Unix
system .. does not work.
Therefore
Hi Everyone,
I'm wondering whether the Split command can be used to create a
numerical matrix from a tab-delimited field of numbers. Example: I
have a field named X with N=1000 rows and K=10 columns for 10,000
observations in total. The data is tab-delimited, and each line ends
=USA12+Phone=808-822-703213
+body=What+a+wonderful+web+site%21
process with this script:
split aboveData by and =
put the keys of aboveData
returns:
5 add2
7 City
8 US_State
9 foreign_state
10 Zip
12 Phone
11 Country
4 add1
3 Last
email
13 body
2 First
6 add3
?? returned order bears
+US_St
ate=HI9+foreign_state=10+Zip=9674611+Country=USA12+Phone=808-822-703213
+body=What+a+wonderful+web+site%21
process with this script:
split aboveData by and =
put the keys of aboveData
returns:
5 add2
7 City
8 US_State
9 foreign_state
10 Zip
12 Phone
11 Country
4 add1
3
Sivakatirswami ecrivait / wrote:
Make sure the traversal of the button is off otherwise when you click the
button it will first deselect your text and so you are trying to find a
card with no name at all...
In fact, it is a list field.
Properties:
traversal on [had a hard time to understand
Sivakatirswami ecrivait / wrote:
Make sure the traversal of the button is off otherwise when you click the
button it will first deselect your text and so you are trying to find a
card with no name at all...
In fact, it is a list field.
Properties:
traversal on [had a hard time to understand
Hi Till,
I had to switch from Mac to Win so MC seemed to me the only way - VB was
awful - to use my HC-apps.
I always found that updating clientsStacks is an awful exportImport-thing
now I split my apps in data- and UI-stacks.
(that is not only a problem of HC or MC; look at filemaker and others
15 matches
Mail list logo