31. while (true)
begin
break if Dir.mkdir("lock.txt")
rescue
sleep(1)
end
end
n = IO.read("count.txt") rescue "0"
open("count.txt","w") {|f| f.puts n.to_i + 1}
Dir.rmdir("lock.txt")
31
64. {|ary| ^(NSArray *ary) {
s = “” NSMutableString *s = [NSMutableString string];
for a in ary for (NSString *a in ary) {
s += a [s appendString:a];
end }
s return s;
} }
64