GLBasic forum

Main forum => Bug Reports => Topic started by: Heiko on 2009-Apr-16

Title: string probleme
Post by: Heiko on 2009-Apr-16
dieser code eines wrappes inline...
Code (glbasic) Select
FUNCTION xAppTitle: title$
INLINE
PROC_ADDR(wrap_xAppTitle);
title_Str.Alloc(512);
wrap_xAppTitle((char*)title_Str.GetStrData());
title_Str.CalcLen();
ENDINLINE
ENDFUNCTION

hat fr?her funktioniert.
jetzt wird er mit:
Code (glbasic) Select
C:\Users\Nutzer\AppData\Local\Temp\glbasic\gpc_temp1.cpp: In function `DGInt __GLBASIC__::xAppTitle(__GLBASIC__::DGStr)':
C:\Users\Nutzer\AppData\Local\Temp\glbasic\gpc_temp1.cpp:610: error: 'class __GLBASIC__::DGStr' has no member named 'Alloc'
C:\Users\Nutzer\AppData\Local\Temp\glbasic\gpc_temp1.cpp:611: error: 'class __GLBASIC__::DGStr' has no member named 'GetStrData'
C:\Users\Nutzer\AppData\Local\Temp\glbasic\gpc_temp1.cpp:612: error: 'class __GLBASIC__::DGStr' has no member named 'CalcLen'


quittiert!
Title: Re: string probleme
Post by: Kitty Hello on 2009-Apr-16
Sorry, das hab ich ge?ndert:
.Alloc -> .alloc
.GetStrData -> .getbuffer
.CalcLen -> .releasebuffer

Sorry.
Title: Re: string probleme
Post by: Heiko on 2009-Apr-16
achso, kein ding, daf?r gibts ja suchen->ersetzen.