Thierry <[EMAIL PROTECTED]> wrote:

> By the way, can someone show me an example of the
> merge() with the <? ... ?> options.
> Don't understand the Doc.

a little late, but:

<script>

  get fld "fdate"
  convert it from long system date to dateitems
  put item 1 of it into tannee
  put item 2 of it into tmois
  if tmois <10 then put "0" before tmois
  put item 3 of it into tjour
  if tjour <10 then put "0" before tjour
  
  put merge("Nous sommes le [[tjour]]/[[tmois]]/[[tannee]]") into
tmessage
  put tmessage

</script>

assuming that the field "fdate" contains a regular date :-)

demo sample, after reading the more thorough study here:

"The Power of Merge 
Create easy-read code using the Merge function
by Jan Schenkel"

in:

<http://www.runrev.com/newsletter/august/issue55/>

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to