What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » String won't appear in J.OptionPane.. :(

String won't appear in J.OptionPane.. :(
Author: Message:
albert
Veteran Member
*****

Avatar

Posts: 2247
Reputation: 42
– / Male / Flag
Joined: Feb 2005
O.P. Undecided  String won't appear in J.OptionPane.. :(
hey guys I really really need your help on that one.

I don't know if it's a bug somewhere but I can't seem to actually make my string appear in a string.

my string is this

code:
"Les nombres " + nombre1s + " et " + nombre2s + " sont miroirs." ;

yet the only thing that appears when I display the string is :

code:
Les nombres  et  sont miroirs.

I can't quite seem to understand why both nombre1s and nombre2s which are both strings won't appear.
10-08-2006 04:33 PM
Profile E-Mail PM Web Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: String won't appear in J.OptionPane.. :(
What are nombre1s and nombre2s? Doubt it'll help but ya never know...
10-08-2006 05:17 PM
Profile PM Find Quote Report
saralk
Veteran Member
*****

Avatar

Posts: 2598
Reputation: 38
35 / Male / Flag
Joined: Feb 2003
RE: String won't appear in J.OptionPane.. :(
are you sure nombre1s and nombre2s have a value?

Try setting a value just before that line.
The Artist Formerly Known As saralk
London · New York · Paris
Est. 1989
10-08-2006 05:23 PM
Profile PM Find Quote Report
albert
Veteran Member
*****

Avatar

Posts: 2247
Reputation: 42
– / Male / Flag
Joined: Feb 2005
O.P. RE: String won't appear in J.OptionPane.. :(
quote:
Originally posted by saralk
are you sure nombre1s and nombre2s have a value?

Try setting a value just before that line.

:O THANKS :D

They had a value, but it was a value that was entered by the user after the line!

Dumb me. :)

Thanks saralk. :)
10-08-2006 05:40 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On