Chapter 473: Experimenting with 'Macros'

"Deputy Director Jiang, can you try these macros now and see how they work?"

Although the macros are written, it is not known whether these macros can work normally, just like a test paper, I have made them all, but how many questions have been done correctly? Pen, fun, and www.biquge.info

At this time, Zhang Sanshi, Zhang Min and others were very nervous, and the reason was naturally ...... The six macros are indeed here, Jiang Ning has written them, but are they really 'top use'? If they are used, then everything is OK, if they are not used, it is meaningless to write them!

It can be said that at present, the company attaches the most importance to this T9 project, the key to success is in the software, and the success of the software is in the macro written by Jiang Ning, if these macros do not have any problems, then, the T9 project is completed, but if these macros are not useful, then, the T9 project has to stop.

"You want to see what these macros do, right? No problem, then I'll just try it out!"

Jiang Ning did not hesitate at Zhang Sanshi's request, and immediately nodded and agreed.

Then, Jiang Ning opened a new software editing window, and then tapped on the keyboard.

"Okay, Deputy Director Jiang, then I'll take a look at these macros you wrote, hehe, hehehe......"

Zhang Sanshi rubbed his hands excitedly, and his mouth was polite, but his eyes were fixed on the computer screen.

Zhang Min, Bi Zhonghua, Zhang Chenglin, Wu Xiaowei, and the boss Xiao Tiansheng also stared intently at the software editing window.

To test whether the macro is OK, the method is actually very simple, that is, enter a few lines of call statement in the software editor, and then put the 'macro' directly in it, call it, and see the result.

With Jiang Ning's hand speed, writing a few lines of code is naturally a matter of hand, and after typing a few lines of code crackling, he clicked down the run and simulation buttons.

This action has almost become Jiang Ning's logo, other software engineers, no matter how simple the program is, several books are first clicked to run, verify that there are no errors, and then click on the simulation to evaluate the effect of the software, and Jiang Ning has 100% confidence in the software he wrote, and the buttons of 'run' and 'simulation' are clicked together.

For Jiang Ning's approach that is supposed to be an 'amateur level', Zhang Sanshi and the others are not surprised, they have great ability, and there is no way to ......

Whew......

The window in the software editor scrolls rapidly, showing lines of code written information, because there is not much code, so, soon, the scrolling stops, and the final feedback result is naturally no error.

For this result, everyone actually didn't pay much attention to it, because Jiang Ning had made that 'light array software' before, memorized and wrote so many lines of code, and in the end the software was compiled without any errors, and now if there are errors in these lines of code, it will be strange.

At this time, everyone's eyes are firmly focused on the next link, that is, 'simulation', which is the most important thing.

Since Jiang Ning clicked the two buttons of 'Run' and 'Simulation' at the same time, the simulation process began immediately after the operation was completed.

The function of the first macro of the test is a macro of 'boot screen display', so, at the first time when the simulation program is running, a mobile phone screen is called up, and then, on the pitch black screen, a logo appears, which is the icon of the T9 project, and the next moment, the logo slowly dissipates, and the mobile phone screen gradually lights up.

When the final screen is frozen on the standby screen and icons appear, the picture is frozen.

At this point, everyone's attention immediately shifted to the time display in the lower left corner of the simulator.

Time:2.5ms!

When I saw this number, there was a burst of enthusiastic cheers and chirping applause in the director's office.

"It worked, hahaha...... The macro displayed on the boot screen was successful, hahaha......"

Even Xiao Tiansheng, who doesn't know much about software, as well as Wu Xiaowei and Zhang Chenglin, at this time, they also cheered, because they had all seen Jiang Ning write a macro that displayed 'hello world', and they all knew it, judging a macro, whether the writing was successful or not, there are two most important points.

One is that when it runs, the macro can achieve the function it needs.

The second and most important point is 'running time'!

In fact, the functions that macros can accomplish can be realized if they are programmed through software, and even the normal software writing process is easier to achieve, so why bother to write macros to replace normal software writing work?

The reason for this is 'time'!

The biggest advantage of writing a 'macro' is that it takes a very short time to run it, and it can even be calculated in 'milliseconds'!

The T9 project, which is limited by the 'chip superposition' hardware structure, is because it is too time-consuming to run, and it has been a headache for Zhang Sanshi, Zhang Min and others.

Imagine, if you use a mobile phone for 10 minutes to turn on the phone, press a button, and the system reaction time is full 1 minute, who will buy it?

It is precisely because of this that the special software module of 'macro' plays a vital role, when it runs, the time consumed is calculated in 'milliseconds', so that the software of the T9 project, a total of '96 macros' together, the time it takes to consume is only '0.2, 0.3 seconds' or so time, this time, for the user is not the slightest impact.

And if you don't use 'macros' and write software directly for implementation, the time required to run is calculated in 'minutes', so you don't have to play.

So, now I see that calling this 'macro' not only realizes the original set function, but also makes the time taken for this function at the 'millisecond' level, suddenly, without Zhang Min and Zhang Sanshi, two software experts, everyone knows that this macro written by Jiang Ning is no problem at all!

So, even Xiao Tiansheng, the big boss of the company, was so excited that he couldn't help cheering when he saw this scene!