Search found 947 matches

by einstein1969
27 Oct 2023 02:31
Forum: DOS Batch Forum
Topic: Another amazing porting...
Replies: 14
Views: 91498

Re: Another amazing porting...

thank you steffen, I will add at the script. In the main I working at a version that use convolution for blurring the image. Its too slow for release. it uses the same data. These are datacoded in base 64. The data in bin format is very low in space. The compression is very high. Even this is data l...
by einstein1969
26 Oct 2023 10:09
Forum: DOS Batch Forum
Topic: Another amazing porting...
Replies: 14
Views: 91498

Re: Another amazing porting...

Sorry steffen, it wasn't a bug but a particular behavior on fixed fonts where there were more options like 5x4 and 5x12 and he doesn't know which one to choose.

Maybe it's been fixed and I'm remembering wrong.

Then I'll check better and report it here.
by einstein1969
25 Oct 2023 02:30
Forum: DOS Batch Forum
Topic: Another amazing porting...
Replies: 14
Views: 91498

Another amazing porting...

Hi to all, It's been a long time since I left the dos alone due to my bad health. A year ago I was working on this port and I didn't have the strength to publish it. I have to thank aGerman and others because they allowed me to set the fonts. If you have any suggestions let me know. I also have a ve...
by einstein1969
18 Jun 2023 00:46
Forum: DOS Batch Forum
Topic: Why does SET performance degrade as environment size grows?
Replies: 33
Views: 60401

Re: Why does SET performance degrade as environment size grows?

I'm doing some tests to delve into the issue of the environment. I discovered a new bug. This script populates the env first with variables whose name is of the form I_* and then after emptying it fills it with other variables of the type I*. Well, the tests lead to an increase in performance of 3 t...
by einstein1969
16 Jun 2023 09:04
Forum: DOS Batch Forum
Topic: Fast Arithmetic Operations on Big Numbers
Replies: 1
Views: 2175

Re: Fast Arithmetic Operations on Big Numbers

I'm really very happy I'm reading this wonderful work you've done.

Thanks again Antonio
by einstein1969
09 Jun 2023 12:57
Forum: DOS Batch Forum
Topic: Dos Batch Math Library
Replies: 69
Views: 104866

Re: Dos Batch Math Library

I'm working on creating the 4 main operations (+,-,/,*) for a number of about 40 digits. but it can be extended to a larger number. I chose this number because it is equivalent to a 128 bit system. This is not a finished work, but only a first approach. For now I have implemented +,-,* and I think t...
by einstein1969
28 May 2023 09:28
Forum: DOS Batch Forum
Topic: How to clear an array?
Replies: 9
Views: 5491

Re: How to clear an array?

I don't think there is a method, at least you can do a "setlocal" before defining the variables. With an "endlocal" you clear them up.
by einstein1969
28 May 2023 03:10
Forum: DOS Batch Forum
Topic: Dos Batch Math Library
Replies: 69
Views: 104866

Re: Dos Batch Math Library

Hi Antonio, I have found a method that use the max or min between +1/-1 and x ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: @echo off setlocal EnableDelayedExpansion :: Define simple macros to support JavaScript within batch set "beginJS=mshta "javascript:code(close...
by einstein1969
23 May 2023 01:56
Forum: DOS Batch Forum
Topic: Dos Batch Math Library
Replies: 69
Views: 104866

Re: Dos Batch Math Library

I recently developed the atan(x) function with two decimal places after the decimal point. It's pretty accurate but I have a problem. In the calculation I had to set a division. ( 1/x ) or (10000000/x). Obviously when x=0 an exception is thrown and the value is not assigned. I wanted to know if it's...
by einstein1969
20 May 2023 11:12
Forum: DOS Batch Forum
Topic: Event-driven multi-thread scheme for Batch files
Replies: 16
Views: 24674

Re: Event-driven multi-thread scheme for Batch files

@aacini

What is the "2>&1 1>&3" trick?
by einstein1969
17 May 2023 10:40
Forum: DOS Batch Forum
Topic: DosBatch 3D Engine.
Replies: 36
Views: 35974

Re: DosBatch 3D Engine.

This is the version 0.1.3.

I rewrote most of the code to make the sphere even faster and more dynamic.

Now the speed is independent from the pc speed and the resolution is dynamic in two directions.
by einstein1969
16 May 2023 11:19
Forum: DOS Batch Forum
Topic: create macro: Let's create a small handout with reports .
Replies: 17
Views: 5797

Re: create macro: Let's create a small handout with reports .

thanks jeb, I didn't answer right away because I couldn't enter the forum
by einstein1969
06 May 2023 02:17
Forum: DOS Batch Forum
Topic: create macro: Let's create a small handout with reports .
Replies: 17
Views: 5797

Re: create macro: Let's create a small handout with reports .

@jeb Thanks for the links, I'm looking at them. But I wanted to ask you a question. What is your method that you use and have you used to discover the various ways to create macros. An example is enough for me. Then I wanted to ask you why when there are quotation marks you need two ^ carets. Also w...
by einstein1969
04 May 2023 11:28
Forum: DOS Batch Forum
Topic: create macro: Let's create a small handout with reports .
Replies: 17
Views: 5797

Re: create macro: Let's create a small handout with reports .

Learn about macros? You can read the several posts here about this topic, modify the examples in order to understand how such a feature work and then, when you find a specific point you have problems with, post your non-working code, specify what you want and the problem you have. I think that in t...
by einstein1969
04 May 2023 04:21
Forum: DOS Batch Forum
Topic: create macro: Let's create a small handout with reports .
Replies: 17
Views: 5797

Re: create macro: Let's create a small handout with reports .

Thanks T3rry but I don't understand the rules. I did a test with only two escape characters "^^" before the exclamation mark "!" and gives me the same result.So you need 3 or 2 when in double quote ' " ' ? this seems to work: @echo off setlocal EnabledelayedExpansion set Char=A set Accumulator=B ( r...