Raised This Month: $ Target: $400
 0% 

String Variable Size (Noob Question)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
KylixMynxAltoLAG
Senior Member
Join Date: Dec 2005
Location: República Argentina.
Old 05-21-2006 , 18:49   String Variable Size (Noob Question)
Reply With Quote #1

I have a variable that show some items separated with a "^n" character.

My noob question is that the "^n" is taken a place in the size specified for the string variable, so for example:

Code:
new days[18] days = "^n1. Lunes^n2. Martes^n"
How much places will take from the declared size of the variable the character "^n"? 1, 2 or 0?

Maybe the above question is stupid, but it is still dificult for me to know if when I make a variable:
Code:
new MiVariable[10]
the number 10 is the amount of characters that she can hold? or it is an array of 10 places?. I'm confiused since I read the scripting help from the Amx Mod X Scripting Help Docs.

Thanks.

PD: I always have work with ObjetcPascal (Delphi) variables that are a little different that the ones Pawn uses.
KylixMynxAltoLAG is offline
 



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 16:32.


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