App Developer Advanced String Functions and Text[2]

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
stefan.erni
Valued Contributor
Posts: 758
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

App Developer Advanced String Functions and Text[2]

Post by stefan.erni »

Hi Ben

There is a nice new component: Advanced String Functions and the "old" Text[2d].

both together can display a lot of data easily and quickly. Convert entire integer array at once. Excellent.

A little problem with the font with the siz of "-" or " " space in the Text[2d].

So in the Display the number are jumping around what is not so nice to see.

Is there a font with proportional size or a way to set it?

regards


Stefan


In the text[2D] there are a lot of fonts but I did not found a perfect one

the negativ integer use different space than positive numbers
Snag_5512a0.png
Snag_5512a0.png (7.95 KiB) Viewed 898 times
or space is much smaller then the number
Snag_55f1e4.png
Snag_55f1e4.png (7.59 KiB) Viewed 898 times
Snag_5a0ab8.png
Snag_5a0ab8.png (4.33 KiB) Viewed 898 times

Steve-Matrix
Matrix Staff
Posts: 1252
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: App Developer Advanced String Functions and Text[2]

Post by Steve-Matrix »

I think the easiest way is to use a fixed-width font like "Courier New". There could be others, e.g. "Comic Sans" and "Lucida Sans Typewriter".

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App Developer Advanced String Functions and Text[2]

Post by stefan.erni »

Hi Steve

Thanks a lot. Yes "Courier New" and "Lucida Sans Typewriter" Font works perfect in the Text[2D].

regards

Stefan

Snag_ba41d2.png
Snag_ba41d2.png (47.48 KiB) Viewed 891 times

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: App Developer Advanced String Functions and Text[2]

Post by stefan.erni »

Hi Ben

There is a simple way to save many integer data arrays to an excel file quickly and easily with the App Developer and the Component" Advanced String Functions". Maybe you could add a parameter "end with new line". But in the menue the answer is only yes or no. If yes then you add "\r\n".
to the string.

I don't know if the string length is necessary, I just did it
here the program:
FC10_string_test_csv.fcsx
(13.69 KiB) Downloaded 49 times

In this way you can also write a data file, then simply remove the conversion and write the data array into the file and change the extension from .csv to .mfc, for example



regards

Stefan

Add "End with new line" ...
Snag_3ec16e.png
Snag_3ec16e.png (113.41 KiB) Viewed 861 times
Programm
Snag_401e6d.png
Snag_401e6d.png (62.98 KiB) Viewed 861 times

Part of the Excelfile generate with the program:
Snag_428d4a.png
Snag_428d4a.png (47.18 KiB) Viewed 861 times

Post Reply