Compatibility of DPlot 2.3.2.5 declarations
Posted: Tue Jun 20, 2017 7:42 am
Dear David,
I wrote utility program to communicate with the Dplot through the Dplotlib.dll by DDE. Since I did not regularly update DPlot my code base on 2.3.2.5. version of DPlot, where in the include file following declarations were used:
Legend (0 TO 100) AS STRING * 80 ' Legend(0->39) is the caption for the legend
' Legend(n*40->n*40+39) is the caption for the n'th curve
LABEL (1 TO 100) AS STRING * 40 ' Strings displayed beside the last data point
' in a curve, 5 characters per curve
Title(1 TO 3) AS STRING *80
In the new - last edition - I notice that these declarations were changed to:
Legend AS STRING * 8080 ' Legend(0->79) is the caption for the legend
' Legend(n*80->n*80+79) is the caption for the n'th curve
LABEL AS STRING * 4000 ' Strings displayed beside the last data point
' in a curve, 40 characters per curve
Title1 AS STRING * 80
Title2 AS STRING * 80
Title3 AS STRING * 80
XAxis AS STRING * 80 ' X Axis label.
YAxis AS STRING * 80 ' Y Axis label.
I would like to know if my “old code†should work also with last edition. I notice also that array dimensions were changed from (1 to 100) to (0 to 99). I want to upgrade in order to use AddData8 function for adding double precision values to current plot. Since I am facing with the communication problems I would like to verify if at least strings are passed correctly. Is curve limit still 100?
Best regards, Gorazd
I wrote utility program to communicate with the Dplot through the Dplotlib.dll by DDE. Since I did not regularly update DPlot my code base on 2.3.2.5. version of DPlot, where in the include file following declarations were used:
Legend (0 TO 100) AS STRING * 80 ' Legend(0->39) is the caption for the legend
' Legend(n*40->n*40+39) is the caption for the n'th curve
LABEL (1 TO 100) AS STRING * 40 ' Strings displayed beside the last data point
' in a curve, 5 characters per curve
Title(1 TO 3) AS STRING *80
In the new - last edition - I notice that these declarations were changed to:
Legend AS STRING * 8080 ' Legend(0->79) is the caption for the legend
' Legend(n*80->n*80+79) is the caption for the n'th curve
LABEL AS STRING * 4000 ' Strings displayed beside the last data point
' in a curve, 40 characters per curve
Title1 AS STRING * 80
Title2 AS STRING * 80
Title3 AS STRING * 80
XAxis AS STRING * 80 ' X Axis label.
YAxis AS STRING * 80 ' Y Axis label.
I would like to know if my “old code†should work also with last edition. I notice also that array dimensions were changed from (1 to 100) to (0 to 99). I want to upgrade in order to use AddData8 function for adding double precision values to current plot. Since I am facing with the communication problems I would like to verify if at least strings are passed correctly. Is curve limit still 100?
Best regards, Gorazd