Logo Search packages:      
Sourcecode: yacas version File versions  Download package

void LispString::SetStringCounted ( LispCharPtr  aString,
LispInt  aLength 

Set string by taking part of another string. The string cannot be owned externally for this operation

Definition at line 30 of file lispstring.cpp.

References CArrayGrowerBase::GrowTo().

Referenced by BigNumber::ToString().

    LispInt i;
    for (i=0;i<aLength;i++)
        Item(i) = aString[i];
    Item(aLength) = '\0';

Generated by  Doxygen 1.6.0   Back to index