Advertisement
TLama

Untitled

Jan 20th, 2015
564
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.40 KB | None | 0 0
  1. case Offer[I].Value.Kind of      
  2.   JVKWord:
  3.   begin
  4.     if Output.Words[Offer[I].Value.Index] = JWNull then
  5.       S := 'null'
  6.     else
  7.       RaiseException('Unexpected PrivacyPolicyUrl value.');
  8.   end;
  9.   JVKString: S := Output.Strings[Offer[I].Value.Index];
  10.   JVKNumber: S := FloatToStr(Output.Numbers[Offer[I].Value.Index]);
  11. else
  12.   RaiseException('Unexpected PrivacyPolicyUrl value type.');
  13. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement