<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>


USE Search:

In Block I/O Words in TurboForth Kernal

Word Name: USE
Type: Standard word
Data Stack Signature: string --
Return Stack Signature: --
Availability: V1.0  V1.1  V1.2
Description:

Defines the block file to be used. A string should be set up on the stack before calling USE.

Example:

S” DSK1.BLOCKS” USE

Comment:

When USE is executed, all buffers are cleared (via EMPTY-BUFFERS). If any buffers are marked as changed/dirty they are not flushed to disk. Therefore, it is the users responsibility to FLUSH any buffers back to disk before executing USE.

See Also: EMPTY-BUFFERS  FLUSH 

<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>