fbarresi / BeckhoffJsonReadWriter

Read and write json file from a Beckhoff PLC
MIT License
23 stars 4 forks source link

read or write. They now became ReadFile and WriteFile #5

Open phobicdotno opened 1 year ago

phobicdotno commented 1 year ago

Hey. Thanks for this code. I had some issues since there is a mix of definitions in the sw/documentation with read/write and ReadFile/WriteFile. In the Example, you use ReadFile/WriteFile, but in the actual library, you use read/write.

image

fbarresi commented 1 year ago

Hi!

They are actually all 4 still supported (for backward capability) but for a better understanding I advise to use ReadFile and WriteFile.

The problem with Read and Write is they are supposed from a misunderstandable point of view, but since I knew the library is widely used I cannot easily drop them so they remained in the code so that I can remember my mistake (true story).

Best Regards, FB