Guidance
指路人
g.yi.org
Guidance Forums / Reginald Rexx / Read/Write with Key Access Method

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Read/Write with Key Access Method
#13379
Posted by: PeterJ 2010-10-25 00:52:58 Last edited by: guidance 2010-10-29 01:45:31 (Total edited 3 times)
The File Key Access DLL enables you to read and write records via a key of your choice.

E.g. if you want to save the Beatles song “When I'm Sixty-Four” with its publishing dates, etc. you code it as follows:

key="Beatles"
title	="When I am Sixty-Four"
composer="Paul McCartney"
album="Sgt. Pepper's Lonely Hearts Club Band"
released=1967
record=title";"composer";"album";"released

writekey(file,key,record) 

/* to read the file */
record=readkey(file,key)
/* parse items */ 
PARSE VALUE record WITH title';'composer';'album';'released
The alternative usage of databases as mySQL was far too slow for this simple approach.

To test the DLL you can run MusicList.rex of the zip file. It imports 5000 records containing Artist-Song with the key: Artist.

If someone is interested in a more detailed description of all available functions, I will create a documentation.
KeyAccess 24.10.zip
Message2. Keyaccess
#13381
Posted by: Phil_Owen 2010-10-27 17:40:51
Peter,

I would be interested in KeyAccess documentation of functions if you are willing to produce it.

Regards

Phil Owen.
Message3.
#13382
Posted by: PeterJ 2010-10-30 00:30:34 Last edited by: PeterJ 2010-10-30 00:31:07 (Total edited 1 time)
The zip file contains the documentation and a new version which is consistent with the description.
Corrections or suggestions are welcome.

Regards

Peter
KeyAccess 30.10.zip
Message4. Documentation
#13383
Posted by: Phil_Owen 2010-10-30 15:29:45
Many thanks.

Phil Owen
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥287.00 ·
 
 
¥2,600.00 ·
 
 
¥289.00 ·
 
 
¥1,370.00 ·
 
 
¥289.00 ·
 
 
¥1,480.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0