Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 4.27 KB

README.md

File metadata and controls

54 lines (34 loc) · 4.27 KB

Box-Function-2.0

This Function will help you in Displaying a Box Layout in the CMD Console with Different Options. You can Also Change the Type of Box – We hope it will help you in your various projects and results in Awesome creations.

PRINT A DIALOG BOX LAYOUT ON CMD | BOX FUNCTION 2.0

As the Box Function 1.0 was not really a batch file. It was Actually – compiled feature of Advanced B2E Converter. Which allowed us to add ASCII character box in our batch programs. But, Because of Unknown Reasons, It was Raising a lot of False Alarms in Anti-viruses scans. So, It is better to Drop it and come up with something more advanced.

DISPLAY BOX LAYOUT IN CMD

Plain Box Layout on Console Screen: Demo

Thus, We’ve created an algorithm that can easily calculate and arrange all necessary ASCII characters together to PRINT A BOX on the cmd console with the help of ‘fn.dll’ plugin. This is a faster and efficient plugin for Batch programming, thus it has its own significance.

ABOUT – BOX FUNCTION 2.0 BY KVC

This 4.19 KB batch code [Box Function v.2.0] will reduce your lot of hard work and headaches. As, Whenever you start creating an awesome Batch program. It takes a lot of time and effort to just show the data in a Right Way on the CMD Console Screen. Which often reduces the effectiveness and impact of your program on the user.

Bpaints by Kvc

This batch Function/extension will help you in managing all that in a specified space and improves the appearance of your program. I’ve used this plugin in one of my best Batch project named Bpaints 1.0. (See the OUTPUT in the above Image)

FEATURES OF BOX FUNCTION 2.0

In the Above Image, The box feature that you see there in the ‘Tools selection’ menu. That box tool used this Box Function 2.0 to simply Display Box on the CMD console separately, one by one! One of the best things – That its response is very quick. The speed of Function is all because of a better algorithm, better response and better compatibility of fn.dll plugin over other batch plugins.

As, this Box Function 2.0 is not an independent batch file, i.e. you can’t simply copy and paste it somewhere else and start using its feature. For all this – what you have to do is copy the box.bat file along with fn.dll file to your desired folder and then you can use its properties.

First try on, Bpaints by Kvc

USAGE – BOX FUNCTION 2.0

The function takes ‘8 arguments’. “Yes”, you read it Right, “8”, where all are necessary for the various requirements and conditions. You may or may not define them all, but you must define the first 4 arguments in order to get a standard box on the cmd console.

Help Menu

You must have seen the older version of window 1.0, which shows some dialogue box which was fully character-based, you can create similar dialogue boxes using the box 2.0 function in the cmd console.

The Box Showing different time options

PERFORMANCE ANALYSIS

The average response time of various Box functions in printing a standard box of size (Rows=20, Columns=60) at (x=5, y=5).

call Box.bat 5 5 20 60
BOX FUNCTION VERSION RESPONSE TIME
1.0 260 ms
2.0 190 ms
3.0 80 ms

So, ver. 2.0 is 30% faster and efficient than ver. 1.0, with 4 new options. Ver.3.0 is 60% faster and efficient than ver. 2.0. With the reduction of a wanted and extra parameter/argument of the function.(Ver. 3.0 is 70% faster than 1.0.)

Just a trial

Read Full Article

YOUTUBE LINK- Box Function 2.0