>I have an alert resource in my .RSRC file. I am calling the alert with: > >LOCAL FN doAlert (errorNum%) >errorNum$ = STR$(errorNum%) >CALL PARAMTEXT ( errorNum$, gWhere$, "", "") >doWhat% = FN CAUTIONALERT (128, 0) > LONG IF doWhat% = 2 > kill what ever I am doing and > END > END IF >END FN > >I have my gWhere$ dimensioned in my .GLBL file and I am passing a new string >to it before I call the doAlert function. It seems that when I make changes >to the parameter text, it is not always displayed correctly in the alert. >What's up with that? > > >Tom > Note that the TOTAL string size for all 4 strings in PARAMTEXT is 255 characters. That means each string can only be up to 63 characters in length before it will overwrite the one that follows. Ensure that none of your strings, for example: gWhere$, exceed that amount and you should be okay. Frank _______________________________________________________________ L. Frank Turovich turovich@... Sentient Fruit http://home.earthlink.net/~turovich