Re: How to load a property with an Array?

2004-07-16 Thread Michael D Mays
Thanks to all! I was concerned about the cat to rat ratio, but Jacque 
cleared that all up.;)

Michael
On Jul 15, 2004, at 10:41 AM, Jeanne A. E. DeVoto wrote:
At 9:52 PM -0500 7/14/04, Michael D Mays wrote:
Can I set an array directly into a custom property or do I have to 
'combine' the array before setting it and then 'split' it after I get 
it in order to use it as an array?
You can set it directly.
Technically, what you get in this case is a custom property set - with 
each element being a property in that set. But for your purposes the 
distinction doesn't matter, because you address the properties in a 
custom property set with array notation:

  set the customProperties[pets] of this card to myPetInventory -- 
array
  put the pets[dog] of this card into field Number of Dogs
  set the pets[cat] of this card to 14
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to load a property with an Array?

2004-07-16 Thread Mark Brownell
on 7/16/04 7:13 AM, Michael D Mays at [EMAIL PROTECTED] wrote:

 Thanks to all! I was concerned about the cat to rat ratio, but Jacque
 cleared that all up.;)
 
 Michael

Not so fast! Here on the island of Dr. Moreau we have managed to put the cat
and the rat together using a pull-parser.

mb

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to load a property with an Array?

2004-07-15 Thread Jeanne A. E. DeVoto
At 9:52 PM -0500 7/14/04, Michael D Mays wrote:
Can I set an array directly into a custom property or do I have to 
'combine' the array before setting it and then 'split' it after I 
get it in order to use it as an array?
You can set it directly.
Technically, what you get in this case is a custom property set - 
with each element being a property in that set. But for your purposes 
the distinction doesn't matter, because you address the properties in 
a custom property set with array notation:

  set the customProperties[pets] of this card to myPetInventory -- array
  put the pets[dog] of this card into field Number of Dogs
  set the pets[cat] of this card to 14
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


How to load a property with an Array?

2004-07-14 Thread Michael D Mays
Hi,
Can I set an array directly into a custom property or do I have to 
'combine' the array before setting it and then 'split' it after I get 
it in order to use it as an array?

I would like to do something like:
  put dog,13 cat,12 rat,129 into myPetInventory
  split myPetInventory by   and ,
  set the pets of this card to myPetInventory
Thanks,
Michael
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: How to load a property with an Array?

2004-07-14 Thread Monte Goulding


Hi,

Can I set an array directly into a custom property or do I have to 
'combine' the array before setting it and then 'split' it after I get 
it in order to use it as an array?

I would like to do something like:

   put dog,13 cat,12 rat,129 into myPetInventory
   split myPetInventory by   and ,
   set the pets of this card to myPetInventory


Try set the customProperties[pets] of this card to myPetInventory

PS... you have a rat problem ;-)

Cheers

Monte
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to load a property with an Array?

2004-07-14 Thread J. Landman Gay
On 7/14/04 9:58 PM, Monte Goulding wrote:
I would like to do something like:
 put dog,13 cat,12 rat,129 into myPetInventory
 split myPetInventory by   and ,
 set the pets of this card to myPetInventory
Try set the customProperties[pets] of this card to myPetInventory
PS... you have a rat problem ;-)
Nah. That's only 10.75 rats per cat. No problem, assuming the dogs don't 
delete any of the cats.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: How to load a property with an Array?

2004-07-14 Thread Monte Goulding
I would like to do something like:

  put dog,13 cat,12 rat,129 into myPetInventory
  split myPetInventory by   and ,
  set the pets of this card to myPetInventory

 Try set the customProperties[pets] of this card to myPetInventory

 PS... you have a rat problem ;-)

Nah. That's only 10.75 rats per cat. No problem, assuming the dogs don't
delete any of the cats.

And that may depend entirely on the ratio of small yappy dogs that look like
rats to real cat eating dogs ;-)

Ofcourse some dogs eat rats also...

Cheers

Monte

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution