Access ParticleEmitter.maxEnergy via script

simple question : How can i access ParticleEmitter. maxEnergy via script?

thanks

var myFLoat: float;
var theMaxEne: ParticleEmitter;
function Start(){
theMaxEne = transform.GetComponent(ParticleEmitter);
}
function Update(){
theMaxEne.maxEnergy = myFloat;
}