CompuServe Messages

#Need C Pointer Help…

    02-Sep-90 22:22:22
Fm: Mike Spille/Manx 71545,1466
To: George Graves 76657,1112
Basically, you can't (at least not in one line). The best optimization I could see for your code would be to say: struct MCS *temp; temp = &(Emulate->StringDesc[i]); if (temp->IString == *State->stringbuffer + State->stringbufferlength))) { if (temp->MString || temp->FString || temp->PSeperator || temp->PNumtype) … You get the idea – basically assign 'temp' to point to the MCS structure you want. BTW, that's one _monster_ of a structure that you have there – the struct MCS StringDesc[256] field alone takes 2K!! Anyway, hope this helps. -Mik e