Re: How can we copy an integer's value to a sequence?

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Tue, 30 May 2000 16:16:16 +0300, bill gates <sun.rise at MAIL.EE> wrote:

>How can we copy an integer's value to a sequence?
>

 I think this is what you mean

  integer var
  sequence s

  var = 5

  If the sequence is not already initialize then you have to do this

  s = {var}

  that will intialize the sequence of a length 1 with the integer

  if you try to assign s = var then you are trying to assign a atom
  to a sequence (which will cause an error ) and not inserting it into
  the sequence.

 Bernie

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu