Re: Structure and Array



On Thu, 31 Jan 2008 07:27:05 -0800 (PST), shapper <mdmoura@xxxxxxxxx>
wrote:

Hello,

Is it possible to create a Structure as follows:

Log
|
|---- Open
|---- History

Both Open and History should be an array of ticket where ticket is a
structure with the following fields:
id, name, comment, time

Thanks,
Miguel

It might be wise to avoid "Log" as your variable name, since it is
very close to the MATLAB intrinsic function "log".

James Tursa
.



Relevant Pages

  • Re: Numeric one-way hash function
    ... >> create a unique barcode on a ticket that cannot be predicted. ... Using the original decimal digit as an offset into the array, ... You did not specify how the array should be shuffled. ...
    (sci.crypt)
  • RE: Average a group of numbers within an date range.
    ... "Mike H" wrote: ... Your formula is fine, it's the way you are entering it, it's an array ... This is an array formula which must be entered with CTRL+Shift+Enter and NOT ... a field that has the total number of days a ticket was open for each ticket. ...
    (microsoft.public.excel.worksheet.functions)
  • RE: Average a group of numbers within an date range.
    ... Your formula is fine, it's the way you are entering it, it's an array ... This is an array formula which must be entered with CTRL+Shift+Enter and NOT ... a field that has the total number of days a ticket was open for each ticket. ... this calculation but am not getting a valid number. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: php nesting classes
    ... In the Order object I store an array with Ticket objects. ... And since the Order object itself has Ticket objects, perhaps the you need an Order::MakeTicket method to create the Ticket object and fill in the information (including a reference to itself). ...
    (comp.lang.php)
  • Re: php nesting classes
    ... My original plan was to to so store Tickets in an array in the Order ... That is the only reason why I need the Order object inside the Ticket ... So I stored a copy of the Order object inside the Ticket class. ...
    (comp.lang.php)