%dup() Function

The %dup() function returns a new file descriptor associated to the same file as the one associated with file.descriptor.

Syntax

new.descriptor = %dup(file.descriptor)

See Also

%close() Function, %rdhex() Function, %read() Function, %whex() Function, %write() Function, FlashBASIC C Functions Overview, cfunction Statement