[Click] Print element problem

Eddie Kohler kohler at cs.ucla.edu
Mon Oct 29 19:49:10 EDT 2007


Vivek,

Print(LABEL ok, LENGTH 24, CONTENTS ASCII)

Each keyword argument is separated from its value by a space;
different keyword arguments are separated by commas.
Eddie


VIVEK VIJAYAN wrote:
> i gave like this
>     Print(LABEL ok LENGTH 24 CONTENTS ASCII)->Discard;
> the error i found was
>        While configuring 'Print at 7 :: Print':
>      argument 1 takes string (label)
>      Router could not be initialized!
> 
> 
>  Print(CONTENTS ASCII) this also i tried then it says
>      argument 1 takes string (label)
> 
> Can u please tell me why it occurs ??
> 
> thanks,
> Vivek.
> 
> 
> On 10/29/07, *Eddie Kohler* <kohler at cs.ucla.edu 
> <mailto:kohler at cs.ucla.edu>> wrote:
> 
>     Did you say something like Print(CONTENTS ASCII) [correct], or
>     Print(CONTENTS,
>     ASCII) [wrong]?
> 
>     Eddie
> 
> 
>     VIVEK VIJAYAN wrote:
>      > Hai,
>      >
>      >             I want to make the Print element to dispaly in ASCII
>     format.
>      > I tried it by using the keyword CONTENTS as ASCII but didnt work.
>      > Can anyone please tell me how to do this.
>      > I think i am not using the correct expression. It shows 'too many
>     arguments'
>      > error.
>      >
>      > Thanks ,
>      >  Vivek
>      > _______________________________________________
>      > click mailing list
>      > click at amsterdam.lcs.mit.edu <mailto:click at amsterdam.lcs.mit.edu>
>      > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 
> 


More information about the click mailing list