VisualAPL - Using a Hashtable

General discussions related to APLNext's VisualAPL.

Moderators: Tech Support, phpbb_admin

VisualAPL - Using a Hashtable

Postby joe_blaze » August 30th, 2008, 3:47 pm

VisualAPL is not limited to the basic data types traditionally supported in legacy APL implementations. At the programmer's option, an instance of a .Net data type can be created and used by VisualAPL. Attached is a simple example of VisualAPL creating and accessing the data values in a .Net hashtable.

While a hashtable is easy to emulate in APL using []ss or dyadic iota, when its necessary for an APL-based application system component to inter-operate with components written in other .Net languages, using the native .Net hashtable data type is the preferred choice. Learn more about .Net hash tables starting with: http://support.microsoft.com/kb/309357

The 'Cielo Explorer' is the fully-interactive VisualAPL 'session' included with VisualAPL. Functions or scripts created in the 'Cielo Explorer' session can be easily compiled within a VisualAPL .Net assembly.

The attachment "VisualAPL_Hashtable_Example.pdf" is a listing from a Cielo Explorer session showing the instantiation and use of a .Net HashTable.

The attachment "VisualAPL_UsingCollections(ArrayList, HashTable, Generics).pdf" provides more detail on using other .Net datatypes in VisualAPL.
Attachments
VisualAPL_UsingCollections(ArrayList, HashTable, Generics).pdf
(152.68 KiB) Downloaded 348 times
VisualAPL_Hashtable_Example.pdf
(119.14 KiB) Downloaded 335 times
joe_blaze
 
Posts: 384
Joined: February 11th, 2007, 3:09 am
Location: Box 361 Brielle, NJ 08730-0361

Return to VisualAPL

Who is online

Users browsing this forum: No registered users and 27 guests

cron