Guidance
指路人
g.yi.org
Guidance Forums / Reginald Rexx / Enhancement request

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

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Enhancement request
#10009
Posted by: misi01 2007-01-26 12:24:41
Using the sort has one disadvantage as a non-English speaker (or one whose data can contani special characters). I have to muck around translating the stem variable before and after to ensure that the sort results are correct. For example

	DO i2 = 1 TO next_file.0
		/* Translate ÅÄÖ so the sort works */	
		next_file.i2 = TRANSLATE(next_file.i2, '5B5C5D'x, 'ÅÄÖ')
	END
	
	SORT next_file. a
	
	DO i = 12 TO next_file.0
		/* Translate back again to ÅÄÖ */	
		next_file.i2 = TRANSLATE(next_file.i2, 'ÅÄÖ', '5B5C5D'x)
	END

It ould be nice if I could pass a string argument that contains the actual sorting order. Something like (?)

SORT next_file. a alphabet='AaBbCc..... ÅåÄäÖö'
Michael
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥880.00 ·
 
 
¥1,390.00 ·
 
 
¥1,380.00 ·
 
 
¥287.00 ·
 
 
¥918.00 ·
 
 
¥860.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0