Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » MsgBox is PromptOK in U++
Re: MsgBox is PromptOK in U++ [message #47205 is a reply to message #17386] Wed, 28 December 2016 23:15 Go to previous messageGo to previous message
roger is currently offline  roger
Messages: 9
Registered: August 2016
Promising Member
My Exclamation() (Upp 5485) seems to be having a problem with some but not all '-' characters in its string argument. For example:

int I=-1;
String msg;
msg.Cat() << "I=" << I << " is negative (-)";
Exclamation(msg);

displays as: I=-1 is negative(-)

(as I would expect), but

int I=-1;
String msg;
msg.Cat() << "I-" << I << " is negative (-)";
Exclamation(msg);

displays as: I
ERROR: Not in table: 1 is negative(-)

and

Exclamation("i -- is a negative number.");

displays as: I
ERROR: Not in table: is a negative numbe

Any ideas as to how I could get Exclamation() to work more reliably would be appreciated.

Smile

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: simmxtools v0.1
Next Topic: STimer-appLauncher'nProcWndListTweak
Goto Forum:
  


Current Time: Sun Aug 24 18:55:58 CEST 2025

Total time taken to generate the page: 0.03788 seconds