Yes, but JAL is not C. Can we name it as we normally do with long
names and put a note above the procedure?

It may be good for the C guys, but most of us are here because we
don't like C.

Matt.

On May 4, 1:54 am, Sebastien Lelong <[email protected]>
wrote:
> "atoi" is a standard function name in C (I'm no expert, correct if wrong)
> which convert ascii to int. When strings.jal was created, I remembered some
> C guys suggested to use the same names as in stdlib C. That's why I also use
> "strcmp" (which definitely doesn't do its job as it returns true/false,
> whereas it should return -1, 0 or 1 depending on str1 < str2, str1 == str2,
> or str1 > str2).
>
> PS: funny, I bought the same hot aie station few weeks ago !
>
> Cheers,
> Seb
>
> 2011/5/4 mattschinkel <[email protected]>
>
> > Hey Seb, maybe we can rename the procedures you added?
>
> > I have no clue what atoi stands for :) Maybe call it
> > string_to_num_dword()
>
> > I also see you made strcmp(), however this is already a
> > string_compare(). Maybe we can rename this to string_compare_null
>
> > All procedures should start with "string_"
>
> > PS: I just bought this solder station, it's awsome!
>
> > Ebay item# 190527188568
>
> >http://cgi.ebay.com/SMD-Rework-Soldering-Station-HOT-AIR-GUN-Solder-I...
>
> > Matt.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to