YAPC::EU 2018 Glasgow Update!
This commit is contained in:
parent
22f33d4004
commit
4e2d22a71d
1170 changed files with 15042 additions and 3047 deletions
|
|
@ -0,0 +1,10 @@
|
|||
path := "file.txt":
|
||||
specificLine := proc(path, num)
|
||||
local i, input:
|
||||
for i to num do
|
||||
input := readline(path):
|
||||
if input = 0 then break; end if:
|
||||
end do:
|
||||
if i = num+1 then printf("Line %d, %s", num, input):
|
||||
elif i <= num then printf ("Line number %d is not reached",num): end if:
|
||||
end proc:
|
||||
Loading…
Add table
Add a link
Reference in a new issue