RandomTools
RemoveFlavor
remove a flavor template
Calling Sequence
Parameters
Description
Examples
RemoveFlavor(flvr)
flvr
-
symbol; represents a flavor in the form of a procedure or module
The RemoveFlavor(flvr) removes the flavor specified by flvr from the list of flavors that function Generate recognizes.
If the flavor is not known to function Generate, an exception is raised.
This function is part of the RandomTools package, and so it can be used in the form RemoveFlavor(..) only after executing the command with(RandomTools). However, it can always be accessed through the long form of the command by using the form RandomTools[RemoveFlavor](..).
withRandomTools:
GenerateA
Error, (in RandomTools:-Generate) the flavor `A` does not exist
AddFlavorA=rand1..20
procprocoptionbuiltin=RandNumberInterface;end proc6,20,5+1end proc
15
13
memberA,GetFlavors
true
RemoveFlavorA
false
See Also
module
procedure
RandomTools[AddFlavor]
RandomTools[Generate]
RandomTools[GetFlavors]
Download Help Document