<-- Previous || Up || Next -->

VB Name To Derive Name Function
String Extras Class

Public Function VBNameToDeriveName( _
    ByVal vExpr As Variant _
    ) As Variant

"Visual Basic Name To Derive Name"
Converts a Visual Basic identifier into one that is valid within the Derive.
Derive is a symbolic Math program from Soft Warehouse of Honolulu, Hawaii.

    VBNameToDeriveName("Side1") = "S_ide1"
    VBNameToDeriveName("Pay Rate") = "P_ayR_ate"
    VBNameToDeriveName("side#2") = "side2" ' #3
See also:
    BreakParentheses Function
    RationalComplexToVBExpr Function
    MathSymbolic Class
vExpr: The Visual Basic identifier which is to be converted into a Derive identifier. Function returns Null if vExpr is Null or cannot be fixed up to a String.

Note: Function ignores most punctuation-type characters which are not valid within Derive identifiers as in example #3.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.