Page 1 of 1

PostPosted: Sun Jul 17, 2005 8:58 pm
by exit_head
in my program i have some string addition. some times the string comes out all giberish. the wierd thing is that it onlt happens sometimes. heres the code, hope you guys can help.

<code>
/$files
int b,dbo;
string namo,ss7,ss8,ss9,ss10,ss11,type;
enum(string type){
namo=dbenum(0,type,"");
b=b+1;
}
files(){
b=1;
namo=dbenum(1,"appl","");
do(enum("appl"));
while(namo!=0);
ss7=b+" applications";
b=1;
namo=dbenum(1,"PCvm","");
do(enum("PCvm"));
while(namo!=0);
ss8=b+" PocketC Applets";
b=1;
namo=dbenum(1,"","");
do(enum(""));
while(namo!=0);
ss9=b+" total files";
dbo=resopen("SoundLib");
if(dbo!=0)ss10="Soundlib is present";
if(dbo=0)ss10="Soundlib is not present";
resclose(dbo);
dbo=resopen("PToolboxLib");
if(dbo!=0)ss11="PToolbox is present";
if(dbo=0)ss11="PToolbox is not present";
resclose(dbo);
alertc("Files","You have\n"+ss7+ "\n" + ss8 + "\n" + ss9+ "\n" +ss10 + "\n" + ss11+ "\n", "Back",0);
}
</code>

HELP!!!! :)

Nate

PostPosted: Sun Jul 17, 2005 9:11 pm
by Vigon
See Topic:"Problems using alertc()"...
Dewey gave workaround until a fix is released...

Vicente

PostPosted: Sun Jul 17, 2005 10:20 pm
by exit_head
thank you Vicente, i didnt even look :D