Copy a string: Difference between revisions
Content deleted Content added
Line 1,103: | Line 1,103: | ||
=={{header|FutureBasic}}== |
=={{header|FutureBasic}}== |
||
<lang> |
<lang> |
||
include " |
include "NSLog.incl" |
||
CFStringRef original, copy |
|||
dim as Str15 s, c |
|||
original = @"Hello!" |
|||
c = s |
|||
copy = fn StringWithString( original ) |
|||
print c |
|||
NSLog( @"%@", copy ) |
|||
HandleEvents |
|||
</lang> |
</lang> |
||
Output: |
Output: |
||
<pre> |
<pre> |
||
Hello! |
|||
</pre> |
</pre> |
||