{"id":39,"date":"2014-08-23T23:47:26","date_gmt":"2014-08-23T15:47:26","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=39"},"modified":"2014-08-23T23:47:26","modified_gmt":"2014-08-23T15:47:26","slug":"%e5%8f%a6%e7%b1%bbdelphi%e5%85%b3%e9%94%ae%e5%ad%97-absolute","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=39","title":{"rendered":"\u53e6\u7c7bDelphi\u5173\u952e\u5b57-absolute"},"content":{"rendered":"<p style=\"color: #454545;\">\u5728Delphi\u4e2d\uff0cabsolute\u7528\u4e8e\u4ee3\u8868\u6307\u5b9a\u7684\u53d8\u91cf\u662f\u53e6\u4e00\u4e2a\u53d8\u91cf\u53e6\u4e00\u79cd\u58f0\u660e\u683c\u5f0f\u3002\u6bd4\u5982\uff1a<\/p>\n<pre class=\"lang:delphi decode:true \">TInt32Value=record\r\n\u00a0\u00a0\u00a0\u00a0IntValue:Integer;\r\n\u00a0\u00a0end;\r\nTByteValue=record\r\n\u00a0\u00a0\u00a0\u00a0ByteValue:array[0..3]\u00a0of\u00a0Byte;\r\n\u00a0\u00a0end;<\/pre>\n<p>\u73b0\u5728\u58f0\u660e\u4e00\u4e2aTInt32Value\u7684\u53d8\u91cf\u5e76\u8bbe\u7f6e\u5176\u503c\u4e3a$01020304\uff1a<\/p>\n<pre class=\"lang:delphi decode:true \">var\r\n\u00a0\u00a0\u00a0\u00a0AValue:TInt32Value;\r\nbegin\r\nAValue.IntValue:=$01020304;\r\nend;<\/pre>\n<p>\u6b64\u65f6\uff0cBValue\u548cAValue\u5b9e\u9645\u5c31\u540c\u7528\u4e00\u5757\u5185\u5b58\u4e86\uff0c\u4f60\u53ef\u4ee5\u6309TByteValue\u7684\u683c\u5f0f\u5bf9\u5176\u8fdb\u884c\u8bbf\u95ee\u4e86\u3002\u5982\u679c\u4f60\u6d4b\u8bd5\u7684\u8bdd\uff0c\u4f1a\u53d1\u73b0\u73b0\u5728\uff0c\u6211\u4eec\u8981\u6309\u5b57\u8282\u5e8f\u5217\u8bbf\u95ee\u5176\u5185\u5bb9\uff0c\u53ea\u9700\u8981\u58f0\u660e\u5982\u4e0b\uff1a<\/p>\n<pre class=\"lang:delphi decode:true \">var\r\n\u00a0\u00a0\u00a0BValue:TByteValue absolute AValue;<\/pre>\n<p>BValue.ByteValue\u6570\u7ec4\u7684\u503c\u4e3a\u4f9d\u6b21\u4e3a$04,$03,$02,$01\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728Delphi\u4e2d\uff0cabsolute\u7528\u4e8e\u4ee3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[8],"tags":[],"class_list":["post-39","post","type-post","status-publish","format-standard","hentry","category-delphi"],"views":3292,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/39","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=39"}],"version-history":[{"count":1,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/39\/revisions"}],"predecessor-version":[{"id":40,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/39\/revisions\/40"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}