RosettaCodeData/Task/Named-parameters/FutureBasic/named-parameters.basic

10 lines
314 B
Plaintext

include "NSLog.incl"
CFStringRef local fn WelcomeToFutureBasic( person as CFStringRef, location as CFStringRef )
return fn StringWithFormat( @"Welcome %@! Glad you could join us from %@.", person, location )
end fn = NULL
NSLog( @"%@", fn WelcomeToFutureBasic( @"John Codemeister", @"Hawaii" ) )
HandleEvents