Queries About a Developer Exam Questions

Matt.HillMatt.Hill Member Posts: 32
Hi, I am about to take my developer exam again. I can remeber last time that there werer questions about the number of bytes that an integer "had" (it also asked about string types and decimal types if I remeber right). Does anyone here happen to know how many bytes each datatype occupies in memory?

Another thing I have seen is about the number of dataitems that you can have in a report, or dataport. Does anyone know these too?

Thanks a lot!

Matt. :D

Comments

  • krikikriki Member, Moderator Posts: 9,115
    [Topic moved from Navision forum to Navision Exams & Certification forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • lzrlzr Member Posts: 264
    1 byte = 8 bit = 1 char

    Integer 32 bit = 4 bytes
    String 1024 chars = 1024 bytes
    Navision developer
  • krikikriki Member, Moderator Posts: 9,115
    Code of size N = N+1 bytes (I think)
    Text of size N = N bytes
    DateFormula = 32 bytes
    Decimal = 12 bytes
    Boolean = 4 bytes (actually it is an integer)
    Integer = 4 bytes
    Date = 4 bytes
    Option = 4 bytes (actually it is an integer)
    BLOB = 8 bytes + the size of the BLOB. (but I am not exactly sure about this one)
    DateTime = 8 bytes
    Time = 4 bytes
    BigInteger = 8 bytes
    Duration = 8 bytes
    GUID = 16 bytes
    TableFilter = 252 bytes
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • fbfb Member Posts: 246
    Code is N+2 bytes, and Text is N+1 byte.

    Also note that sizes may be rounded up to 4-byte alignment for performance reasons in many cases.

    See section "Choosing Data Types" in the "Table Fundamentals" chapter of the Application Designers Guide.
  • atarisataris Member Posts: 109
    Are you doing the Development 1 Intro to C/SIDE?

    I'll look in my manual because they list all dataitems and how many bytes they hold. Just received the Development 1 Intro to C/SIDE manual cause I'll be writing my exam in the next 2 to 3 months.
Sign In or Register to comment.