The = threw me off.

 

Also, distinguishing array from number would be beneficial.



Joseph Biran
____________________________________________

 

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Dennis Brown
Sent: Tuesday, September 23, 2008 4:57 PM
To: [email protected]
Subject: Re: [amibroker] AmiBroker AFL Glossary project
--LIFT OFF

 

Joseph,

 

Good question.  I had selected a parameter to show return
value types in the sample output.  The n is a number type
returned by the function.  Other types are: s is a string, a
is an array, b is boolean number (True/False) etc., as shown
in the template.  I could have selected to output a
descriptive name instead, or nothing.  There are a number of
variations on a basic theme.

 

BR,

Dennis

 

On Sep 23, 2008, at 6:09 PM, J. Biran wrote:





What is the n = stand for?

 



Joseph Biran
____________________________________________

 

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Dennis Brown
Sent: Monday, September 22, 2008 9:27 PM
To: [email protected]
Subject: Re: [amibroker] AmiBroker AFL Glossary project
--LIFT OFF

 

Hello,

 

I have uploaded to the AFL Library a program called
AF_Glossary_Generator (yes a typo in the name) that takes
another file uploaded called AFL_Glossary_1 and generates
parameter selectable formatted TXT or RTF files for this
project.  It took me a couple of hours to make a database
file for all the string manipulation functions, and forever
to make the program that spit out formatted documents.
Creating the files for both forced me to refine the database
specification a bit further.  

 

Please download them both and try them out.  You have to
create a directory called AFL_Glossary in your main
AmiBroker folder and put the file named AFL_Glossary_1.txt
into it.  Rename the file to strip off the .afl and make
sure it ends in .txt.  The output files will be written to
the same folder.  On a PC, the .txt and .rtf files read fine
in WordPad, but the links don't work in that program.  They
do work in Word.  In the Mac, all formats w! ork fine in
TextEdit program.

 

Please download the program and data and give me some
feedback.  Sorry there are not a lot of instructions, but
you just select parameters, and click on the Convert
Database button to get something written out.  You can try
out all kinds of different formats.

 

Next, we need volunteers to write small sections of the
database to make headway.  If you make another file called
AFL_Glossary_2.txt, etc., it will combine them into one
database for outputs.  

 

Best regards,

Dennis

 

PS. here is a sample of one possible output:

 

 

 

                                AFL -- AmiBroker Formula
Language

                                -- Abbreviation for
AmiBroker Formula Language

                                -- Group Tags:          AFL

                                -- See Also:
AmiBroker Formula Language

 

  n =          <http://www.amibroker.com/f?asc> Asc( String,
CharacterPosition=0 ) [AB 4.8] -- get ASCII code of
character

                                -- Returns the ASCII code
number for a text character

                                -- Group Tags:
AFL,Functions,String manipulation,Type Conversions

                                -- Search Tags:
ASCII,character,convert,code

                                -- Links:    ASCII Defined
<http://en.wikipedia.org/wiki/ASCII>  ASCII
<http://www.asciitable.com>  Table 

 

  n =          <http://www.amibroker.com/f?StrToDateTime>
StrToDateTime( DateTimeText ) [AB 4.8] -- convert string to
datetime

                                -- Returns datetime number
from a text representation of the Date/Time

                                -- Group Tags:
AFL,Functions,String manipulation,Type Conversions,Date and
Time

!                                 -- Search Tags:
datetime,date,time,convert

                                -- See Also:
DateTimeToStr(),Now(),DateTime(),TimeNum(),Date()

 

The rtf file of the whole sample output is also attached
here for those who get individual emails:

 

 

 

Reply via email to