Ah sorry I am on Julia 0.3 prerelease

Am Donnerstag, 8. Mai 2014 17:07:10 UTC+2 schrieb Stéphane Laurent:
>
> julia> deleteat!(x, 1)
>
> ErrorException("deleteat! not defined")
>
>
>
> Le jeudi 8 mai 2014 17:00:01 UTC+2, Tobias Knopp a écrit :
>>
>> deleteat!(x,(1,3))
>>
>> But am I missing something or are splice! and deleteat! a little 
>> redundant?
>>
>> Am Donnerstag, 8. Mai 2014 16:49:58 UTC+2 schrieb Stéphane Laurent:
>>>
>>> Hello, 
>>>
>>> Assume I want to delete the first and the third entries of this array:
>>>
>>>
>>> julia> x = [3,5,9,7]
>>>
>>> 4-element Array{Int64,1}:
>>>
>>>  3
>>>
>>>  5
>>>
>>>  9
>>>
>>>  7
>>>
>>>
>>> How to do ? Using !splice I can only delete one entry or a range.
>>>
>>

Reply via email to