Jump to content

UsbLoadFuncs: Difference between revisions

From EDM2
W.m.brul (talk | contribs)
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
==Description==
Adds all functions prefixed with RxUsb at once.
Adds all functions prefixed with RxUsb at once.


==Syntax==
==Syntax==
<pre>
rc = UsbLoadFuncs()
rc = UsbLoadFuncs()
</pre>


==Parameters==
;Parameters:none
 
;Return Code:empty string
==Return Code==
empty string
 
===Errors===
 
==Remarks==


==Example Code==
==Example Code==

Latest revision as of 00:09, 29 October 2017

Adds all functions prefixed with RxUsb at once.

Syntax

rc = UsbLoadFuncs()
Parameters
none
Return Code
empty string

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)

Related Functions