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

10 lines
314 B
Text
Raw Permalink Normal View History

2025-08-11 18:05:26 -07:00
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