In
In(k)
gives the
k
th line of input.
Examples
>> x = 11
>> x = x + 12
>> Do(In(2), {3})
>> x5
>> In(-1)5
>> Definition(In)Attributes(In)={Listable,NHoldFirst,Protected}In(1):=x=1In(2):=x=x+1In(3):=Do(In(2),{3})In(4):=xIn(5):=In(-1)
Implementation status
- ☑ - partially implemented