Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def isUnstablePair(filename1, filename2)
- x = 0
- if (filename1 > filename2) then
- if (filename1.upcase > filename2.upcase) then
- return false
- else
- return true
- end
- end
- if (filename1 < filename2) then
- if (filename1.upcase < filename2.upcase) then
- return false
- else
- return true
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment