TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Frank Adam
from: Peter Collis
date: 1996-05-12 19:15:28
subject: Filename Expansion

-= Pete Replied to Frank Adam about: Filename Expansion =-

G'day Frank

 PC> Whats wrong with if(strcmp("bla","bla") == 0)
dothat(); in both
 PC> cases you will more than likely end up with the code

 PC> CALL  strcmp
 PC> CMP   AX, 0

 FA> Well, i was talking about the source's clearity, not the
 FA> resulting code..  As for compiling,i don't know how well Basic
 FA> optimizes it's code, but i  assume they've had made some
 FA> improvements since VB1.

If you mean VB/WIN maybe compiler is not the word to use here.

 FA> Btw, basic does have it's strcmp like function now, with a nice
 FA> touch, where an optional argument can determine binary or
 FA> textual comparison,that  eliminates the need for a separate
 FA> stricmp() like function.  There's also "like" and
"is" both of
 FA> which returns boolean or NULL.

This must have been added in VB4 as i can't remember ever seeing it in
VB3, my example applied more to QB45/BAS-7 than to the Win versions of
basic.

   -=Pete=-

--- OMX/Blue Wave v2.12
* Origin: Gates of Hell (3:713/914.16)
SEEN-BY: 50/99 620/243 623/630 711/401 409 410 413 430 808 809 934 712/508
SEEN-BY: 712/515 713/111 317 601 611 615 618 700 826 888 914 714/906 800/1
@PATH: 713/914 615 888 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.