Append a record to the end of a text file: Difference between revisions

m
smidgen narrower
m (smidgen narrower)
Line 1,683:
integer fn
 
constant
constant rec1 = {"jsmith","x",1001,1000,{"Joe Smith","Room 1007","(234)555-8917","(234)555-0077","jsmith@rosettacode.org"},"/home/jsmith","/bin/bash"},
rec2 rec1 = {"jdoejsmith","x",10021001,1000,{"JaneJoe DoeSmith","Room 10041007","(234)555-89148917","(234)555-00440077","jdoejsmith@rosettacode.org"},"/home/jdoejsmith","/bin/bash"},
rec3 rec2 = {"xyzjdoe","x",10031002,1000,{"XJane YzDoe","Room 10031004","(234)555-89138914","(234)555-00330044","xyzjdoe@rosettacode.org"},"/home/xyzjdoe","/bin/bash"},
constant rec1 rec3 = {"jsmithxyz","x",10011003,1000,{"JoeX SmithYz","Room 10071003","(234)555-89178913","(234)555-00770033","jsmithxyz@rosettacode.org"},"/home/jsmithxyz","/bin/bash"},
 
function tostring(sequence record)
7,805

edits