I give up, @Command Edit Right not working?

Hi,How come it won’t tab the ‘Count’ number of characters ?

xxx := ChangeDiscussion;

Text:=@Text(@Name([CN];@UserName) +" “+ @Text(@Today)+”: ");

Count:=@Length(Text);

@If(@IsDocBeingEdited;“”;@Command([EditDocument];1));

@SetField(“ChangeDiscussion”;@Name([CN];@UserName) +" “+ @Text(@Today)+”: "+@NewLine+xxx);

@Command([EditGotoField];“ChangeDiscussion”);

@Command( [EditRight]; Count )

Subject: I give up, @Command Edit Right not working?

Just change this line… It will work fine

@command([EditRight];@text(count))

Subject: RE: I give up, @Command Edit Right not working?

Thanks!