Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: identifier ID script
;Testprogram follows: ; Check which Characters are allowed for building an Identifier name ; Test Range Num2Char(2..255) MagicNumbers = "135,136,158,159,185" For cluster=0 to 15 BoxOpen("Processing", "Be patient") list = "" For num=0 to 15 CharNum = (cluster * 16) + num If CharNum==0 then continue If CharNum==1 then continue char = num2char(CharNum) BoxText(StrCat(CharNum,@tab,char)) Skip = @FALSE If ItemLocate(CharNum,MagicNumbers,",") > 0 Skip = (@YES==AskYesNo("Caution", "Skip over next character ?")) EndIf If Skip LastErrMsg = "===> magic character <===" ;char = "" else Error = 0 IntControl(73,2,0,0,0) SimpleCmd = StrCat(char,"=1") %SimpleCmd% LastErrMsg = IntControl(34,Error,0,0,0) If LastErrMsg == "" then LastErrMsg = "=== good character ===" EndIf item = StrCat(Charnum,@tab,char,@tab,LastErrMsg) list = iteminsert(item,-1,list,num2char(1)) If Error==0 then drop(%char%) Next num BoxShut() IntControl(63, 200, 200, 800, 700) AskItemList("Number Character ErrorMessage", list, num2char(1), @unsorted, @single) Next cluster Exit :WBERRORHANDLER Error=LastError() Return
Article ID: W14900
File Created: 2001:11:08:12:40:54
Last Updated: 2001:11:08:12:40:54