GLBasic forum

Other languages => GLBasic - de => Topic started by: trucidare on 2008-Mar-16

Title: DGStr zu non scaler Type (string)
Post by: trucidare on 2008-Mar-16
Hallo,
ich versuche ein string zu DGStr zu convertieren aber es will einfach nicht. Und den rest auf DGStr umschreiben kann ich auch nicht da ich die member von DGStr nich kenne.

Kann mir jemand helfen?

EDIT:// Erledigt
Title: DGStr zu non scaler Type (string)
Post by: Kitty Hello on 2008-Mar-17
Was willst Du?
Code (glbasic) Select
const char* pC = "Test";
DGStr str = CGStr(pC);
Title: DGStr zu non scaler Type (string)
Post by: trucidare on 2008-Mar-17
Hat sich schon erledigt hatte eine vorige Deklaration übersehen.