Re: Split

2004-06-02 Thread Simon Lord
,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

Split

2004-06-01 Thread Simon Lord
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

Re: Split

2004-06-01 Thread Simon Lord
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

RE: Split

2004-06-01 Thread Ken Ray
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

Split and Combine

2004-04-30 Thread Raymond E. Griffith
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

Re: Split and Combine

2004-04-30 Thread J. Landman Gay
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

Re: Split and Combine

2004-04-30 Thread Raymond E. Griffith
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

Combine/split arrays

2003-08-29 Thread Shari
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

Re: How do you join lines in a container so it becomes one line, so you can use split?

2003-06-11 Thread Pierre Sahores
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

Split Command

2002-03-22 Thread Gregory Lypny
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

Return Split Data to Array/What Logic for Key Order?

2001-12-14 Thread Sivakatirswami
=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

Re: Return Split Data to Array/What Logic for Key Order?

2001-12-14 Thread eugen helbling
+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

Go to card by its name? (was: Re: -- all this part will be easierwith 2.4. split variables...)

2001-10-11 Thread Domi
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

Go to card by its name? (was: Re: -- all this part will be easierwith 2.4. split variables...)

2001-10-11 Thread Domi
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

Re: split data and UI (was: Re: HyperCard price etc by Till tbandi@access.ch)

2001-04-16 Thread Ernst Reicher
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