Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Grumpfish Library 3.2 - <b>blindopen()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
BLINDOPEN()

    BLINDOPEN() will paint your screen using the vertical blinds
    effect.

    As with PULL_DRAPE(), before you use BLINDOPEN() you must first
    prepare your screen file via SAVE_DRAPE().  Paint your screen, then
    call SAVE_DRAPE() as follows:

    SAVE_DRAPE(<screen file>)

    Required Parameter

    <screen file> is the name of the file to save the screen in.

    When you want to restore the screen with the vertical blinds effect,
    use BLINDOPEN() with the following syntax:

    BLINDOPEN(<screen file> [, <delay>])

    Required Parameter

    <screen file> is the name of the file containing the saved screen.

    Optional Parameter

    <delay> is a numeric expression representing the delay factor to use
    in opening the drapes.  Values between 5 and 50 are recommended,
    although you should experiment to determine what works best on your
    particular computer.  The default delay setting is 5.

    Sample Usage

    Please refer to the pseudo-code that accompanies the discussion on
    PULL_DRAPE() and SAVE_DRAPE() for tips on how to intelligently
    incorporate BLINDOPEN() in your program.

    Tip

    If you can spare a second or two when first calling your program
    (along with 4K of RAM), try calling SAVE_DRAPE() at the very top of
    your program to save the DOS entry screen.  Then when the user
    exits, use BLINDOPEN() to restore the initial screen.  If this does
    not make their eyes bulge out, they are hopelessly jaded.

See Also: PULL_DRAPE() BLINDCLOSE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson