Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MAP$
#1
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--
Reply
#2
I looks like a string variable. It can contain text:

Code:
MAP$="Hello!"
PRINT MAP$
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#3
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?
Reply
#4
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 Wink

(i just wanted to flash my new avatar again)
b]Hard Rock[/b]
[The Stars Dev Company] [Metal Qb flopped] [The Terror]
Stop Double Posts!
Whats better? HTML or Variables?
Reply
#5
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--
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)