Hi!

You can do something like this:

     int t;
    anytype a;
    ;
   
    t = typeof(a);
    switch (t)
    {
        case Types::ENUM:
            break;
        case Types::REAL:
            break;
        case Types::DATE:
            break;
        case Types::STRING,
                Types::RSTRING,
                Types::VARSTRING:
    }

Regards Bj�rn


      -----Original Message-----
      From: gonzalo_edo [mailto:[EMAIL PROTECTED]
      Sent: 27. mai 2004 03:24
      To: [EMAIL PROTECTED]
      Subject: [development-axapta] Axapta Function
     
     
      Does Axapta have any function that give me the data type of a field
      or a variable. By example:
     
      A = 'ABC', returns string
     
      or B = 123.33, returns real;
     
     
      Best Regards
     
     
     
     
Yahoo! Groups Sponsor     
ADVERTISEMENT
click here <http://rd.yahoo.com/SIG=129c5vbia/M=295196.4901138.6071305.3001176/D=groups/S=1705006764:HM/EXP=1085720607/A=2128215/R=0/SIG=10se96mf6/*http://companion.yahoo.com>      
<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=:HM/A=2128215/rand=929773832>      

     
  _____ 

      Yahoo! Groups Links
     

      *      To visit your group on the web, go to:
            http://groups.yahoo.com/group/development-axapta/
             
      *      To unsubscribe from this group, send an email to:
            [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
             
      *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]


Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to