TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Peter Collis
from: Frank Adam
date: 1996-05-10 07:21:00
subject: Filename Expansion

G'Day Peter,
 
-=> Quoting Peter Collis to Frank Adam <=-
 PC> Whats wrong with if(strcmp("bla","bla") == 0) dothat();
 PC> in both cases you will more than likely end up with the code
 PC> CALL  strcmp
 PC> CMP   AX, 0
Well, i was talking about the source's clearity, not the resulting code.. 
As for compiling,i don't know how well Basic optimizes it's code, but i 
assume they've had made some improvements since VB1.  
Btw, basic does have it's strcmp like function now, with a nice touch, 
where an optional argument can determine binary or textual comparison,that 
eliminates the need for a separate stricmp() like function.                      
There's also "like" and "is" both of which returns
boolean or NULL. 
                                                                           
                    
  L8r Frank (fadam{at}ozemail.com.au).                                        
                                                                           
___ Blue Wave/DOS v2.21                                                    
                                                                           
                                                                           

--- Maximus 3.01
* Origin: The Software Parlour (3:635/544)
SEEN-BY: 50/99 78/0 620/243 623/630 632/349 635/503 544 727 711/401 409 410
SEEN-BY: 711/413 430 808 809 932 934 712/515 713/888 714/906 800/1 7877/2809
@PATH: 635/544 50/99 711/808 809 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™.