Posts: 4
Threads: 3
Joined: Apr 2003
I was just wondering, I was looking at some programs i saw on the net, and I found the syntax MAP$
Can anyone please tell me what this means??
Thank you!
Week of March 30th saying:
Those who abide by the light...
Live by the darkness
isconception and deceit is the only way...
'An enemy of my enemy is my friend...'
'The only way to truly know a man, is to fight him...'
--The Matrix Reloaded--
Posts: 6,419
Threads: 74
Joined: Mar 2002
I looks like a string variable. It can contain text:
Code:
MAP$="Hello!"
PRINT MAP$
Posts: 720
Threads: 46
Joined: Oct 2001
Quote:I was just wondering, I was looking at some programs i saw on the net, and I found the syntax MAP$
Can anyone please tell me what this means??
Thank you!
Week of March 30th saying:
Those who abide by the light...
Live by the darkness
In all probability MAP$ was a function in the program code, like this:
Code:
FUNCTION GetName$()
INPUT "What's yer name?", temp$
GetName$ = temp$
END FUNCTION
Then in the main program, if you ever check the value of GetName$, it will run that function and return whatever value you set it to. Pretty nifty, huh?
Posts: 530
Threads: 17
Joined: May 2002
Well, he could also have theoritcally used map$ as, well his map to save memory and get a speed hit.(it has been used for a few games i think, but i do belive acessing it is pretty slow, especially compared to ints)
Or what you guys said
(i just wanted to flash my new avatar again)
Posts: 4
Threads: 3
Joined: Apr 2003
I want to thank you all...
Yes I believe it might be a function, I've used them a lot in C when making applications to help me with geometry...
I guess it might be that the programmer used it to check whether that was a spaced you were allowed to move to, or something.
Thanks Again,
Eternal Darkness
isconception and deceit is the only way...
'An enemy of my enemy is my friend...'
'The only way to truly know a man, is to fight him...'
--The Matrix Reloaded--