Enumerating Symbols?

Is there an easy way to write a script to list out all of the symbols available to MT4 for that broker?
I'm sure I have seen something that does something similar . . . let me have a look . . .
Was asked and answered here
RaptorUK:
I'm sure I have seen something that does something similar . . . let me have a look . . .


This is what I had in mind . . . not sure where I originally found it . . .

Files:
Thanks guys! I thought it may have been a simple command in MQL4 but these libraries will do the trick :)
RaptorUK:


This is what I had in mind . . . not sure where I originally found it . . .

Absolutely great! Thank you!