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 #-988311] Thu, 26 December 2002 14:31 Go to previous message
Anonymous
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
 
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 05:12:59 MST 2024

Total time taken to generate the page: 0.01280 seconds