Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pwtitlebar command question ...

Status
Not open for further replies.

willy113

Programmer
Apr 27, 2004
33
US
Hi PP48 Rep,

I have been using the ProcommPlus "pwtitlebar" command for some time now with no issue, but as time goes on I have kept on expanding my string length out to now over 100 chars.
- When I pass a %d or %i string variable into a func that displays to this titlebar, after 100 str len, I get back a
huge like 8 character number even though I am initializing this var = 0 for debugging purposes.
- I read the spec, and it states 64 char is the limit but I can get it work way over 120 chars, but now I think I finally pushed past some programming limitiation.

- Any ideas on the subject or inside knowledge of pwtitlebar you could share would be appreciated ....

- BillL
 
Thanks knob,

After reveiwing the code to send to you, I found a code bug. I had more passed params into a strfmt command (7 intead of 8) so I was bascically trying to put a string var into an int, so that explains the big number you will see in the screen shots below. Usually ProcommPlus flags this during compilation ??

I am able to pass about 125 chars in pwtitlebar, so maybe the docs should be updated, since it says ONLY 64 char max size ??

P.S. How can I attach screen shots or other docs.
I could not get cut-n-paste to work ....

- Willy113
 
You would think that the ASPECT compiler would catch when more variables are passed into a strfmt command, but I have seen this behavior in the past as well.

When you ask about attaching documents, do you mean into your messages here?

aspect@aspectscripting.com
 
Hi Knob,

Yes, for future reference, how do I attach or paste into this message window any text or graphics so that I can send you example code or Windows screen shots, etc. ??

- Willy113
 
I don't think there is a way to attach a file, but you can use TGML (click the Process TGML link below the edit field where you would respond for more information) to link an image you have posted on a different server or to format text in a particular manner. I've not used it myself, so can't say much more than that.


aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top