Raised This Month: $ Target: $400
 0% 

Again input line too long error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-22-2011 , 02:11   Re: Again input line too long error
Reply With Quote #1

format sections at a time.
__________________
fysiks is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 07-22-2011 , 06:50   Re: Again input line too long error
Reply With Quote #2

How?
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-22-2011 , 09:12   Re: Again input line too long error
Reply With Quote #3

Quote:
Originally Posted by bibu View Post
How?
Multiple format statements containing pieces of it.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-22-2011 , 11:08   Re: Again input line too long error
Reply With Quote #4

Just to be sure you're not gonna use format() with back copy, I'll show you the method:

Code:
new msg[2048]
new len = 0

len += formatex(msg[len], charsmax(msg) - len, "<html>")
len += formatex(msg[len], charsmax(msg) - len, "<head></head>")
len += formatex(msg[len], charsmax(msg) - len, "<body>%s</body>", "wtf")
len += formatex(msg[len], charsmax(msg) - len, "</html>")
Still, I think add() could work instead of formatex() aswell... but I never used it =)
__________________
Hunter-Digital is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode