R
Robin
@output2 = @output1[0 .. 250];
thanks,
-Robin
thanks,
-Robin
@output2 = @output1[0 .. 250];
Robin said:Subject: what would this do...
Robin said:@output2 = @output1[0 .. 250];
Matt Garrish said:Robin said:@output2 = @output1[0 .. 250];
Set entries 0-250 in @output2 to their equivalent values in @output1. Next
time try running the code if you want to know what it does.
Michael Budash said:Matt Garrish said:Robin said:@output2 = @output1[0 .. 250];
Set entries 0-250 in @output2 to their equivalent values in @output1. Next
time try running the code if you want to know what it does.
you explanation makes it sound (at least to me) like any existing
entries in @output2 other than 0-250 will be left alone, which they
won't.
@output2 will be redefined as an array with 251 entries matching those
in locations 0-250 of @output, if any. if not, undefined.
@output2 = @output1[0 .. 250];
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.