Closed djaus2 closed 7 months ago
Three More Suggestions, all non-urgent_
Just implemented a function where some reuse of code stood out. Q Are functiont documented ib detail anywhere. Had to be a bit of expirementing to get it to work but know how to do , I will post my example later in my Softata examples.
Can we have a library of fucntions where the blocks are saved to a file and loaded into the current progarm. Better still if these fucntions/library were implicitly loaded as one smnall block or some otherhidden manner.
Or can we have tabs where fucntion blocks can be separately loaded and saved.
Bit manipulation SHL SHR AND XOR etc.
PS The creation of my examples has been quite easy once I had created my API. :)
Q: Are functiont documented ib detail anywhere. A: No , the functions are not documented. Yes, I'd wish to do so . But for the moment, I am one man show ;-)
Q: Can we have a library of fucntions where the blocks are saved to a file and loaded into the current progarm.
A: I see that you have put your things into the "Examples ! " button
"SoftataWebAPI\wwwroot\BlocklyAutomation\assets\showUsage\demoBlocks"
I assume that you are refering to something else, that I do not understand ?
Q: "Or can we have tabs where fucntion blocks can be separately loaded and saved." A: Are you referring to something like macros , a composition of multiple functions ?
Q: "Bit manipulation SHL SHR AND XOR etc." A: I do not know if this exists in Javascript .... I will see .
I have posted an the example using a function here github.com Soft-ata SoftataWebAPI Neopixel8-Display-Fuctional-Example-pin-16.txt
I HAVE WRITTEN a blog post on Functions now. Now complete: https://davidjones.sportronics.com.au/softata/Softata-Blockly_Functions-softata.html.
Updated version https://djzblogaccname137.z26.web.core.windows.net/softata/Softata-Blockly_Functions-softata.html Perhaps I could do a pull request with thart included, say under Wiki??
XOR x ^ y Bitwise AND x & y Bitwise OR x | y Shift left a << b And .. a <<= b Shift Right a >> b And a >>= b
My thoughts are where you create a a number of functions that you might want to reuse somewhere. So it would be nice to package them as a single entity that can be separately saved from the program and reloaded in some manner in another program and used. The relaoded functions could be on a separate tab or only appear on the program page as one small block just naming the "library" or a small block for each function.
Re 2. From first comment here. Change ... By ... can be used as ++ -- :) Perhaps that could be extended for other operations?
Re 2. Again I see much of ythis functionality is now available in other Tab set ... op ... :)
I will try to make this weekend ( and also upgrade Blockly to latest version)
Just implemented a test block app as above. :)
Is >>>= meant to be there? ... OK I see that is part of Javascript.
Also can I suggest:
I have updated blockly to the latest version (10.4.3) - so please update your project to .net 8 and
<PackageReference Include="NetCore2Blockly" Version="8.2024.428.1000" />
Now I can make all modifications without fear
I suggest that we close those thread and open another with modifications needed.
OK thanks. Have successfully upgraded.
From: Andrei Ignat @.> Sent: Monday, April 29, 2024 3:25 PM To: ignatandrei/NETCoreBlockly @.> Cc: David Jones (MVP) @.>; Author @.> Subject: Re: [ignatandrei/NETCoreBlockly] Some suggestions (Issue #160)
I have updated blockly to the latest version (10.4.3) - so please update your project to .net 8 and
<PackageReference Include="NetCore2Blockly" Version="8.2024.428.1000" />
Now I can make all modifications without fear
I suggest that we close those thread and open another with modifications needed.
— Reply to this email directly, view it on GitHubhttps://github.com/ignatandrei/NETCoreBlockly/issues/160#issuecomment-2081911619, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC7U2EOQBL64NS3S27EEUT3Y7XKTZAVCNFSM6AAAAABGWGQSU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRHEYTCNRRHE. You are receiving this because you authored the thread.Message ID: @.**@.>>
will repost some of my suggestions as separate items, given this is now closed
None of these are blocking issues