UsbLoadFuncs: Difference between revisions
Appearance
Created page with "==Description== ==Syntax== <pre> </pre> ==Parameters== ==Return Code== ===Errors=== ==Remarks== ==Example Code== <pre> →add UsbLoadFuncs: rc = RxFuncAdd('UsbLoadFunc..." |
add description, syntax and retrun code |
||
Line 1: | Line 1: | ||
==Description== | ==Description== | ||
Adds all functions prefixed with RxUsb at once. | |||
==Syntax== | ==Syntax== | ||
<pre> | <pre> | ||
rc = UsbLoadFuncs() | |||
</pre> | </pre> | ||
Line 8: | Line 10: | ||
==Return Code== | ==Return Code== | ||
empty string | |||
===Errors=== | ===Errors=== | ||
Line 20: | Line 23: | ||
/* invoke UsbLoadFuncs */ | /* invoke UsbLoadFuncs */ | ||
rc = ('' | rc = ('' <> UsbLoadFuncs()) | ||
say '*UsbLoadFuncs(),RC=0x'b2x(rc) | say '*UsbLoadFuncs(),RC=0x'b2x(rc) | ||
Revision as of 18:23, 24 January 2017
Description
Adds all functions prefixed with RxUsb at once.
Syntax
rc = UsbLoadFuncs()
Parameters
Return Code
empty string
Errors
Remarks
Example Code
/* add UsbLoadFuncs */ rc = RxFuncAdd('UsbLoadFuncs','usbcalls','UsbLoadFuncs') say '+UsbLoadFuncs(),RC=0x'd2x(rc) /* invoke UsbLoadFuncs */ rc = ('' <> UsbLoadFuncs()) say '*UsbLoadFuncs(),RC=0x'b2x(rc) /* drop UsbLoadFuncs */ rc = RxFuncDrop('UsbLoadFuncs') say '-UsbLoadFuncs(),RC=0x'd2x(rc)