--- In [email protected], "swzoh" <[EMAIL PROTECTED]> wrote:

> I did mean that char type should accept/return only (as) numbers, no
> ascii characters. On second thought, I realized that it might be too
> restrictive and could cause another confusion to users, especially
> when they reference the values. Likely to expect ascii characters. 
> It turned out I already did it once (:at this stage, I vaguely 
> remembered I indeed located and read about char type in the help...)

Glad to know someone else besides me forgets what they did two days
ago... 


> Part of my script:
> ----------------------------------------------------------------------
> ...
> 
> pgcl=dll.call("GetProcAddress|ui s ui",;;+
> dll.call("GetModuleHandle|s ui","kernel32.dll"),"GetCommandLineA")
> 
> acl=dll.create_array(4,"c")
> 
> binary.set_dump_rules("h",esc("0t",0),esc("0x7E",0))


> for(local i=4;i>0;i--)
> binary.from_ascii_string("bb",acl[i])
>
pcline=eval(fill("0x00",replacechars(binary.dump("bb"),?"\",0)))+256*pcline
> endfor

--------------------------------------------------------------------

Nice, but if we can make it easier so much the better.
 
> > I could put a modifier on the type specification:

......<snip>......
 
> Definitely it'll be very helpful. I hope I never forget it again. :)
> Thanks for considering it.
 
Done, but having trouble tracking down get_element bug.








------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to