Function/Variable I2S

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Nothinbeter2do
Junior Member
Posts: 40
Joined: November 14th, 2008, 8:56 pm

Function/Variable I2S

Post by Nothinbeter2do »

Does anyone know what I2S is? I constantly see it being using in a war3map.j file. But then when I search for it to see what it is delcared as, I don't find anything. I find it within these two lines (the fourth and sixth):

Code: Select all

loop
set i=i+1
exitwhen i>I
     set FA=FA+I2S(R[i])+"-"
endloop
     set FA=FA+I2S(fA(FA))
if R[1]==0 then
set FA="-"+FA
endif
User avatar
Ken
Spice Pirate
Posts: 862
Joined: January 29th, 2009, 5:35 pm
Title: LHC
Location: Canada

Re: Function/Variable I2S

Post by Ken »

Int to String

So I2S(R[i]) would return a string of whatever value R[i] has.
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that
Nothinbeter2do
Junior Member
Posts: 40
Joined: November 14th, 2008, 8:56 pm

Re: Function/Variable I2S

Post by Nothinbeter2do »

Thanks. It's to obvious now that you say it.
Sevion
Junior Member
Posts: 44
Joined: April 12th, 2007, 2:43 am
Location: STALKER!!!

Re: Function/Variable I2S

Post by Sevion »

Just popping in to say I2S is a native and can be found (the declaration, not code) in common.j

;) That's why you couldn't find it probably.
"Sticks and stones may break my bones, but words will never hurt me!" Ouch! MY ARM!! YOU BROKE MY ARM!!