Jump to content

UsbDropFuncs: Difference between revisions

From EDM2
Created page with "==Description== ==Syntax== <pre> </pre> ==Parameters== ==Return Code== ===Errors=== ==Remarks== ==Example Code== <pre> add UsbDropFuncs: rc = RxFuncAdd('UsbDropFunc..."
 
W.m.brul (talk | contribs)
add description, syntax and return code
Line 1: Line 1:
==Description==
==Description==
Drops all functions prefixed with RxUsb at once.


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


Line 8: Line 10:


==Return Code==
==Return Code==
empty string


===Errors===
===Errors===
Line 20: Line 23:


/* invoke UsbDropFuncs */
/* invoke UsbDropFuncs */
rc = ('' != UsbDropFuncs())
rc = ('' <> UsbDropFuncs())
say '*UsbDropFuncs(),RC=0x'b2x(rc)
say '*UsbDropFuncs(),RC=0x'b2x(rc)



Revision as of 18:26, 24 January 2017

Description

Drops all functions prefixed with RxUsb at once.

Syntax

rc = UsbDropFuncs()

Parameters

Return Code

empty string

Errors

Remarks

Example Code

/* add UsbDropFuncs */
rc = RxFuncAdd('UsbDropFuncs','usbcalls','UsbdropFuncs')
say '+UsbDropFuncs(),RC=0x'd2x(rc)

/* invoke UsbDropFuncs */
rc = ('' <> UsbDropFuncs())
say '*UsbDropFuncs(),RC=0x'b2x(rc)

/* drop UsbDropFuncs */
rc = RxFuncDrop('UsbDropFuncs')
say '-UsbDropFuncs(),RC=0x'd2x(rc)

Related Functions