Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
$ Command - Syntax question
Message
De
06/04/1998 11:33:09
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00089827
Message ID:
00089840
Vues:
28
>I have not used this program statement much and am not clear on syntax. The program statement evaluates a field - cursor.ins_type which contains one of five four character values COMP, MB, MCS, BC, FEP .
>The statement looks like this:
>
>IF cursor.ins_type $ "COMP:MB :MCS :BC "
>
>My question -
>
>What significance do the colons have in this. I can't find any help on the syntax for the character string. Can the character string just be continuous and yield the same result? (i.e. "COMPMB MCS BC"
>
>TIA,
>
>Bill
Bill,
Don't know where this example with colons come from but is a good one. Yes, w/o them you would have the desired result. In fact in your version you replace them with a space. It's just for preventing wrong concatanated return values and could be a colon, comma, space etc. For your example a better substitute could be inlist().
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform