Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:software:qview:qview_6:qcl_library:vc10copy [2022/05/03 12:30] – [IMPLEMENTATION] qem214 | en:software:qview:qview_6:qcl_library:vc10copy [2022/05/04 11:45] (current) – [Note] qem214 | ||
---|---|---|---|
Line 4: | Line 4: | ||
**C = **// | **C = **// | ||
- | The VC10Copy function copies the value from a variable to another. | ||
+ | The VC10Copy function copies the content of one variable to another one based on a variable that sets its direction. | ||
===== IMPLEMENTATION ===== | ===== IMPLEMENTATION ===== | ||
Line 20: | Line 20: | ||
**Direction table** | **Direction table** | ||
- | |val01 > val02|result | + | |dir = 1| val**a** -> val**b**| |
- | + | |dir = 0| val**b** -> val**a**| | |
- | All subsequent cases relate to val01 <= val02 and analyze only Val03 | + | |
- | + | ||
- | |//**val0**//**3** < | + | |
- | |val01 <= //**val03**// < valore2|result = 2| | + | |
- | |//**val03**// >= val02|result = 3| | + | |
=== Example === | === Example === | ||
Line 59: | Line 54: | ||
=== Note === | === Note === | ||
- | * The function | + | * This function |