RosettaCodeData/Task/Call-an-object-method/Ursa/call-an-object-method.ursa

6 lines
111 B
Plaintext

# create an instance of the built-in file class
decl file f
# call the file.open method
f.open "filename.txt"