Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UDF AMPM() is inconsistent???
Message
De
04/06/1998 02:44:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
03/06/1998 12:46:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00104276
Message ID:
00104586
Vues:
24
Snip...
>Thanks Cetin and Rod
>
>But...
>
>Rod...
>
>The reason I'm in the debugger watch window in the first place is because the string DTOC(DATE())+" "+AMPM(TIME()) is "undefined" so I was trying to figure out why. It's still confusing that it prints from the command window but not through the program. I also discovered that TYPE( AMPM(TIME())) is "U" if that helps.
>
>Cetin...
>
>I need to generate documentation using a "Template" that is based on Clipper, so it uses the line DTOC(DATE())+" "+AMPM(TIME()) in several places. I was hoping to accomodate this syntax so I don't have to rewrite the templates.
>
>Thanks again
Larry,
Debugger won't access a UDF, normal behaviour. Try this one create a very simple function (ie just: return 5). Include it in a prg (or be the prg itself w/o set proc to). Set proc to that prg and call in debugger watch. You would get "Exp.. not evaluated". Now why failing in prg, that's the problem. In debugger instead of watch use trace for that. In first line of AMPM add a wait window or suspend to see if ever it's called.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform