Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » OT: For anyone who knows Visual Basic...
OT: For anyone who knows Visual Basic... [message #-988310] Thu, 26 December 2002 14:41 Go to previous messageGo to previous message
Anonymous
quote:
Originally posted by Taximes:
I'm having a problem with my code, and I don't know where else to ask it.

Basically, what I have is a variable in the middle of a string being printed to an output file.
code:
Print #1, "StringI" + variable + "StringII"

Now, what I want that to result in is this:
code:
StringIvariableStringII

But instead, I get:
code:
StringI variableStringII

It puts a space after the first part of the string, and I don't know why...

Anyone know? :S

have u tried
variable2 = "StringI" + variable + "StringII"

print #1,variable2

[ December 26, 2002, 21:41: Message edited by: Francois ]
 
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
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
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
Read Message
Read Message
Previous Topic: Golden God mod
Next Topic: Questions @Dantes Scripts.
Goto Forum:
  


Current Time: Mon Dec 23 09:27:37 MST 2024

Total time taken to generate the page: 0.01001 seconds