REX buffer

Post Reply
sabety
Posts: 76
Joined: Wed Dec 06, 2000 7:11 am

REX buffer

Post by sabety »

How can I add a value to the end of a buffer?

I am trying to do this

<sandr ">>=" "$value" $MYVAR>

with no luck...
User avatar
mark
Site Admin
Posts: 5495
Joined: Tue Apr 25, 2000 6:56 pm

REX buffer

Post by mark »

A number of ways depending on your needs.

<$MYVAR=($MYVAR+$value)>

<sum "%s" $MYVAR $value><$MYVAR=$ret>

<strfmt "%s%s" $MYVAR $value><$MYVAR=$ret>

If you're building a list of items to concatenate you could use

<$MYVAR=$MYVAR $value>
<$MYVAR=$MYVAR $anothervalue>
<sum "%s" $MYVAR><$MYVAR=$ret>
Post Reply