Home » U++ Library support » U++ SQL » size of S_XXX struct members
Re: size of S_XXX struct members [message #41649 is a reply to message #41560] |
Tue, 07 January 2014 22:53 |
|
Alboni
Messages: 214 Registered: January 2012 Location: Deventer, Netherlands
|
Experienced Member |
|
|
Being able to do something like this would be grand also:
S_PAYMENT_METHOD rec;
int n=rec.GetCount();
for (int i=0; i<n; i++)
{
switch (rec[i].type)
{
case S_INT: DoSomethingWithAnInt(rec[i].Value, rec[i].MaxLength); break;
case S_STRING: DoSomethingWithAnString(rec[i].Value, rec[i].MaxLength); break;
................
}
}
[Updated on: Tue, 07 January 2014 23:13] Report message to a moderator
|
|
|
|
|
size of S_XXX struct members
By: Alboni on Mon, 30 December 2013 15:53
|
|
|
Re: size of S_XXX struct members
By: mirek on Mon, 06 January 2014 16:06
|
|
|
Re: size of S_XXX struct members
By: Didier on Mon, 06 January 2014 19:28
|
|
|
Re: size of S_XXX struct members
By: Alboni on Tue, 07 January 2014 22:53
|
|
|
Re: size of S_XXX struct members
By: mirek on Wed, 08 January 2014 12:05
|
|
|
Re: size of S_XXX struct members
By: mirek on Fri, 10 January 2014 14:42
|
|
|
Re: size of S_XXX struct members
By: Alboni on Fri, 10 January 2014 14:48
|
|
|
Re: size of S_XXX struct members
By: Alboni on Fri, 10 January 2014 14:57
|
|
|
Re: size of S_XXX struct members
By: mirek on Fri, 10 January 2014 15:35
|
|
|
Re: size of S_XXX struct members
By: Alboni on Tue, 28 January 2014 14:34
|
|
|
Re: size of S_XXX struct members
By: mirek on Tue, 28 January 2014 20:13
|
Goto Forum:
Current Time: Sun May 26 23:22:36 CEST 2024
Total time taken to generate the page: 0.00635 seconds
|