Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Optimizing and Coding Standards
#2
grimsk8ter11 Wrote:String( -> String$(
Chr( -> Chr$(
Trim( -> Trim$(
LTrim( -> LTrim$(
RTrim( -> RTrim$(
Hex( -> Hex$(
Space( -> Space$(
CurDir( -> ChrDir$(
Dir( -> Dir$(
Left( -> Left$(
Right( -> Right$(
Mid( -> Mid$(

If I missed any, let me know.

Sorry if this is considered to be necroposting, but the bolded comment urged me to post. >.>

I believe the LCase and UCase functions also have $ counterparts:
LCase( -> LCase$(
UCase( -> UCase$(

When I'm typing them up in VB6, I type LCase( and it says "LCase(String)." When I add the $ it changes to "LCase$(String As String) As String." Same thing for UCase. I just thought I should point that out. >.> Sorry if I should've PMed this instead.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)