1. Placing Text and changing sequences

Hi there,

I am pretty new to Euphoria and I have a simple question:

Using PRINT is there anyway to place text on the same line as the proceeding
PRINT other than using POSITION()?
Right now I am using:

print x
position(1,2)
print y

Is there any other way?

Also, if I have a two element sequence, such as {{10,10},{30,30}} how would
I change just the second part of the first element? I have been using
something like this:

sequence example

example = {{10,10},{30,30}}

example[1][2] = example[1][2] + 10

--Now example = {{10,20},{30,30}}

It works but it is clumsy. Is there a better way?

Thanks,
David

new topic     » topic index » view message » categorize

2. Re: Placing Text and changing sequences


new topic     » goto parent     » topic index » view message » categorize

3. Re: Placing Text and changing sequences


new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu